]> Repos - portaudio/log
portaudio
9 years agohotplug: Clean up structure of Pa_RefreshDeviceList(). Fix to report error result...
Ross Bencina [Sun, 18 Sep 2016 14:39:26 +0000 (00:39 +1000)]
hotplug: Clean up structure of Pa_RefreshDeviceList(). Fix to report error result for failed host api ScanDeviceInfos(). Previously it would return paNoError if it failed.

9 years agopatest_refresh_device_list: Fix unused args error in main() (use int main(void) as...
Ross Bencina [Sun, 18 Sep 2016 09:20:58 +0000 (19:20 +1000)]
patest_refresh_device_list: Fix unused args error in main() (use int main(void) as elsewhere). Use %lu to printf unsigned long connectionId (should fix compilation error on Mac).

9 years agohotplug dsound: zero new device count on error hotplug-persistent-descriptors
Ross Bencina [Sun, 11 Sep 2016 16:46:40 +0000 (02:46 +1000)]
hotplug dsound: zero new device count on error

9 years agohotplug: fix signed/unsigned parameter warning in pa_win_hotplug.c
Ross Bencina [Sat, 10 Sep 2016 13:47:21 +0000 (23:47 +1000)]
hotplug: fix signed/unsigned parameter warning in pa_win_hotplug.c

9 years agofix missing new line at end of pa_front.c
Ross Bencina [Fri, 9 Sep 2016 13:48:53 +0000 (23:48 +1000)]
fix missing new line at end of pa_front.c

9 years agoMerge branch 'master' into hotplug
Ross Bencina [Sat, 3 Sep 2016 04:19:23 +0000 (14:19 +1000)]
Merge branch 'master' into hotplug

9 years agohotplug dsound: initial cut of properly working connectionIds. it works. it pulls...
Ross Bencina [Fri, 2 Sep 2016 15:57:29 +0000 (01:57 +1000)]
hotplug dsound: initial cut of properly working connectionIds. it works. it pulls device information from each device every time, and then reuses the old connectionId if the GUID is the same. This has the advantage of always pulling updated channel count information. it has the disadvantage of re-polling every device, not just newly inserted/removed ones. the alternative is to reuse the existing device information by copying it over, which could be done.

9 years agohotplug dsound: remove resolved fixme comment
Ross Bencina [Fri, 2 Sep 2016 14:30:18 +0000 (00:30 +1000)]
hotplug dsound: remove resolved fixme comment

9 years agohotplug: extended doc comments for ScanDeviceInfos, CommitDeviceInfos, DisposeDeviceI...
Ross Bencina [Fri, 2 Sep 2016 14:11:56 +0000 (00:11 +1000)]
hotplug: extended doc comments for ScanDeviceInfos, CommitDeviceInfos, DisposeDeviceInfos. Added requirement that commit and dispose should be implemented such that they can't fail (this is currently the case with DirectSound and WDM/KS implementations).

9 years agohotplug directsound: factor out freeing of device info array to FreeDeviceInfos....
Ross Bencina [Fri, 2 Sep 2016 13:29:20 +0000 (23:29 +1000)]
hotplug directsound: factor out freeing of device info array to FreeDeviceInfos. Delete some unused variables.

9 years agohotplug: further refinement of API doc comments
Ross Bencina [Fri, 2 Sep 2016 11:47:43 +0000 (21:47 +1000)]
hotplug: further refinement of API doc comments

9 years agofix .def file: rename Pa_RefreshDeviceList --> Pa_UpdateAvailableDeviceList
Ross Bencina [Fri, 2 Sep 2016 11:12:10 +0000 (21:12 +1000)]
fix .def file: rename Pa_RefreshDeviceList --> Pa_UpdateAvailableDeviceList

9 years agoMoved hotplug function prototypes from random locations to new header file src/common...
Ross Bencina [Fri, 2 Sep 2016 10:52:42 +0000 (20:52 +1000)]
Moved hotplug function prototypes from random locations to new header file src/common/pa_hotplug.h. Added draft documentation and licence headers. In pa_front.c moved devices changed code next to refresh device list code.

9 years agohotplug: added connectionId parameter to PaDeviceInfo and bumped struct version numbe...
Ross Bencina [Fri, 2 Sep 2016 10:27:39 +0000 (20:27 +1000)]
hotplug: added connectionId parameter to PaDeviceInfo and bumped struct version number. added PaUtil_MakeDeviceConnectionId() function and used it to initialize connectionId in all host APIs. updated patest_refresh_device_list to display connection id. NOTE: persistent connection ids have not been implemented in dsound and wdmks, so refreshing the device list will change connection ids.

9 years agohotplug: first cut doc comments for PaDevicesChangedCallback and Pa_SetDevicesChanged...
Ross Bencina [Fri, 2 Sep 2016 09:43:27 +0000 (19:43 +1000)]
hotplug: first cut doc comments for PaDevicesChangedCallback and Pa_SetDevicesChangedCallback

9 years agohotplug: rename Pa_UpdateAvailableDeviceList() to Pa_RefreshDeviceList(). Clean up...
Ross Bencina [Fri, 2 Sep 2016 09:27:47 +0000 (19:27 +1000)]
hotplug: rename Pa_UpdateAvailableDeviceList() to Pa_RefreshDeviceList(). Clean up doc comment for Pa_RefreshDeviceList().

9 years agowdmks hotplug: Make CommitDeviceInfos fail-safe by removing allocation of temporary...
Ross Bencina [Fri, 2 Sep 2016 09:08:39 +0000 (19:08 +1000)]
wdmks hotplug: Make CommitDeviceInfos fail-safe by removing allocation of temporary. Factored out device info array freeing function from DisposeDeviceInfos into separate FreeHostApiDeviceInfos.

9 years agowdm/ks hotplug: fixed two bugs in CommitDeviceInfos() Firstly, hostApi->info.deviceCo...
Ross Bencina [Fri, 2 Sep 2016 08:52:22 +0000 (18:52 +1000)]
wdm/ks hotplug: fixed two bugs in CommitDeviceInfos() Firstly, hostApi->info.deviceCount was being zeroed before it was used to specify how many devices to free, so zero devices/filters would be freed. Secondly, a ptr ptr (**) to temporary scan results localScanResults was being pased to DisposeDeviceInfos() instead of a ptr (*).

9 years agoMerge branch 'rb-fix-pa-front-c99isms' into 'master'
Ross Bencina [Thu, 1 Sep 2016 00:36:17 +0000 (00:36 +0000)]
Merge branch 'rb-fix-pa-front-c99isms' into 'master'

Don't use C99 designated initializer syntax it's not C89 compatible

+1: Phil Burk

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3747023

9 years agoMerge branch 'winrt' into 'master'
Ross Bencina [Sun, 28 Aug 2016 00:14:32 +0000 (00:14 +0000)]
Merge branch 'winrt' into 'master'

WASAPI: ported to WinRT (UWP) platform, compatibility fixes to compile PortAudio as Windows Store library

+1: Phil Burk, Ross Bencina

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3643753

9 years agoMerge of old SVN hotplug branch into current git HEAD. Includes hotplug support for...
Ross Bencina [Sat, 27 Aug 2016 07:51:40 +0000 (17:51 +1000)]
Merge of old SVN hotplug branch into current git HEAD. Includes hotplug support for DirectSound, WDM/KS. Both are working running in debugger but WDM/KS seems to be crashing in stand-alone build. I removed the use of struct _PaInternalInfo in hotplug/pa_front.c to reduce the size of the change. pa_win_dsound.c involved the most intricate changes due to other changes that had been made in the mean time. I've also initialized function ptrs ScanDeviceInfos, CommitDeviceInfos, DisposeDeviceInfos so this should build on all platforms.

9 years agowasapi: replaced InterlockedCompareExchange with InterlockedOr and added clarifying...
dmitrykos [Fri, 26 Aug 2016 19:31:45 +0000 (22:31 +0300)]
wasapi: replaced InterlockedCompareExchange with InterlockedOr and added clarifying comment why Interlocked API is used

9 years agocomment out C99 designated initializer syntax for versionInfo_ initializer. not C89... rb-fix-pa-front-c99isms
Ross Bencina [Fri, 26 Aug 2016 09:42:09 +0000 (19:42 +1000)]
comment out C99 designated initializer syntax for versionInfo_ initializer. not C89 compatible

9 years agoremove trailing whitespace from end of lines
Ross Bencina [Fri, 26 Aug 2016 09:33:31 +0000 (19:33 +1000)]
remove trailing whitespace from end of lines

9 years agowasapi: reverted the usage of Interlocked APIs for PaWasapiStream::running
dmitrykos [Fri, 26 Aug 2016 06:43:50 +0000 (09:43 +0300)]
wasapi: reverted the usage of Interlocked APIs for PaWasapiStream::running

9 years agowasapi: use InterlockedXXX APIs to secure inter-thread r/w access to variables to...
dmitrykos [Wed, 24 Aug 2016 19:04:17 +0000 (22:04 +0300)]
wasapi: use InterlockedXXX APIs to secure inter-thread r/w access to variables to avoid possible deadlocks or logic corruption

9 years agowasapi: more cleanup - normalized WIN32_WINRT to PA_WINRT, removed excessive declarat...
dmitrykos [Sun, 14 Aug 2016 16:01:20 +0000 (19:01 +0300)]
wasapi: more cleanup - normalized WIN32_WINRT to PA_WINRT, removed excessive declarations from SignalObjectAndWait, ActivateAudioInterfaceCompletionHandler set of functions

9 years agowasapi: use Windows common Sleep() API instead of PA_Sleep()
dmitrykos [Sun, 14 Aug 2016 07:52:36 +0000 (10:52 +0300)]
wasapi: use Windows common Sleep() API instead of PA_Sleep()
use GetTickCount64() API which is awailable for Windows Store app instead of _ftime_s()
remove WAVEFORMAT and WAVEFORMATEX declaration and use the corresponding Windows include file instead

9 years agowasapi: code cleanup, removed compiler warnings
dmitrykos [Mon, 8 Aug 2016 18:09:15 +0000 (21:09 +0300)]
wasapi: code cleanup, removed compiler warnings

9 years agowasapi: ported to WinRT (UWP)
dmitrykos [Wed, 3 Aug 2016 19:39:41 +0000 (22:39 +0300)]
wasapi: ported to WinRT (UWP)
os: compatibility fixes for compilation of PortAudio as Windows Store library (only WASAPI hostapi is compatible with Windows Store APIs)

9 years agoMerge branch 'loopback' into 'master'
Phil Burk [Wed, 3 Aug 2016 00:53:41 +0000 (00:53 +0000)]
Merge branch 'loopback' into 'master'

Loopback: fix warnings that prevent compilation

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3604853

10 years agoLoopback: fix warnings that prevent compilation
Phil Burk [Wed, 27 Jul 2016 02:10:23 +0000 (19:10 -0700)]
Loopback: fix warnings that prevent compilation

Add newline in biquad_filter.c
Add integer assert with tolerance.

10 years agoMerge branch 'ticket_229' into 'master'
Phil Burk [Sun, 29 May 2016 19:22:24 +0000 (19:22 +0000)]
Merge branch 'ticket_229' into 'master'

Fix assert when reading or writing with non-power of 2 channels.

fixed #229

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3299213

10 years agoRestore paqa_devs
Phil Burk [Sun, 22 May 2016 00:31:53 +0000 (17:31 -0700)]
Restore paqa_devs

10 years agoRevert paqa_devs
Phil Burk [Sun, 22 May 2016 00:30:21 +0000 (17:30 -0700)]
Revert paqa_devs

10 years agoMac: test adjustable number of channels.
Phil Burk [Sun, 22 May 2016 00:25:18 +0000 (17:25 -0700)]
Mac: test adjustable number of channels.

10 years agoFix assert when reading or writing with non-power of 2 channels.
Phil Burk [Thu, 19 May 2016 04:41:01 +0000 (21:41 -0700)]
Fix assert when reading or writing with non-power of 2 channels.

10 years agoMerge branch 'fixeol' into 'master'
Phil Burk [Thu, 19 May 2016 05:20:42 +0000 (05:20 +0000)]
Merge branch 'fixeol' into 'master'

Add .gitattributes to fix EOL

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3299183

10 years agoNormalize all the line endings
Phil Burk [Thu, 19 May 2016 05:13:20 +0000 (22:13 -0700)]
Normalize all the line endings

10 years agoAdd .gitattributes to fix EOL
Phil Burk [Thu, 19 May 2016 05:05:13 +0000 (22:05 -0700)]
Add .gitattributes to fix EOL

10 years agoMerge branch 'noassert' into 'master'
Phil Burk [Wed, 18 May 2016 03:42:26 +0000 (03:42 +0000)]
Merge branch 'noassert' into 'master'

pa_mac_core: stop stream instead of asserting

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3218623

10 years agopa_mac_core.c: Removed some comments. Cleaned up logic.
Phil Burk [Tue, 17 May 2016 05:30:28 +0000 (22:30 -0700)]
pa_mac_core.c: Removed some comments. Cleaned up logic.

10 years agoMerge branch 'testgit2' into 'master'
Phil Burk [Tue, 3 May 2016 01:26:54 +0000 (01:26 +0000)]
Merge branch 'testgit2' into 'master'

test git changesets

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3221493

10 years agoAnother change and commit to the same branch
Phil Burk [Mon, 2 May 2016 16:13:22 +0000 (09:13 -0700)]
Another change and commit to the same branch

10 years agotest git changesets
Phil Burk [Mon, 2 May 2016 16:12:05 +0000 (09:12 -0700)]
test git changesets

10 years agopa_mac_core: stop stream instead of asserting
Phil Burk [Mon, 2 May 2016 01:08:38 +0000 (18:08 -0700)]
pa_mac_core: stop stream instead of asserting

Bug: 158

10 years agoMerge branch 'ignorebin' into 'master'
Phil Burk [Sun, 1 May 2016 22:42:50 +0000 (22:42 +0000)]
Merge branch 'ignorebin' into 'master'

gitignore: add more files from configure and make

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3218493

10 years agogitignore: add more files from configure and make
Phil Burk [Sun, 1 May 2016 22:39:03 +0000 (15:39 -0700)]
gitignore: add more files from configure and make

10 years agoMerge branch 'ignore' into 'master'
Phil Burk [Sun, 1 May 2016 19:59:13 +0000 (19:59 +0000)]
Merge branch 'ignore' into 'master'

Add .gitignore for C++

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3218363

10 years agoAdd .gitignore for C++
Phil Burk [Sun, 1 May 2016 19:54:03 +0000 (12:54 -0700)]
Add .gitignore for C++

10 years agopatest_out_underflow: cleanup
philburk [Sun, 10 Apr 2016 18:12:03 +0000 (18:12 +0000)]
patest_out_underflow: cleanup

Replace some tabs.
Print overflow under stress.
Prevent accidental overrange of phases array.

10 years agoUpdate docs for building on Linux
philburk [Mon, 15 Feb 2016 17:06:54 +0000 (17:06 +0000)]
Update docs for building on Linux

10 years agoFiles needed for compiling on El Capitan.
philburk [Mon, 4 Jan 2016 17:22:56 +0000 (17:22 +0000)]
Files needed for compiling on El Capitan.

These files were autogenerated using autoreconf based
on changes from the previous commit.

10 years agoAdd support for 10.11 SDK so PortAudio can compile on Mac.
philburk [Mon, 4 Jan 2016 17:22:00 +0000 (17:22 +0000)]
Add support for 10.11 SDK so PortAudio can compile on Mac.

Also allow deprecated APIs until we can remove them.

Note that this commit only includes the source files that were changed.
The next commit will include the files that are generated by autoreconf.
So look at this commit to see what really changed.

10 years agowasapi: correction to the previous commit
dmitrykos [Wed, 21 Oct 2015 14:25:07 +0000 (14:25 +0000)]
wasapi: correction to the previous commit

10 years agowasapi: workaround to avoid PaWasapi_Initialize() failure when enumerating devices...
dmitrykos [Tue, 20 Oct 2015 16:02:39 +0000 (16:02 +0000)]
wasapi: workaround to avoid PaWasapi_Initialize() failure when enumerating devices and device fails to report min/default periods with IAudioClient::GetDevicePeriod(): ignore error and assign WASAPI common known period values for min/default

10 years agowasapi: support for setting the WASAPI's AudioClientProperties options via PaWasapiSt...
dmitrykos [Mon, 19 Oct 2015 11:03:31 +0000 (11:03 +0000)]
wasapi: support for setting the WASAPI's AudioClientProperties options via PaWasapiStreamInfo struct (__IAudioClient2_INTERFACE_DEFINED__ must be defined by Windows SDK (for Windows 8 and up) to have effect from these new options, otherwise it will be noop)

10 years agoupdate doxygen main page to reference developer guidelines and implementation style...
rbencina [Sun, 6 Sep 2015 13:17:05 +0000 (13:17 +0000)]
update doxygen main page to reference developer guidelines and implementation style guidelines on the Wiki

10 years agocheckfiledocs.py: blacklist mingw-include from doc check
rbencina [Sun, 6 Sep 2015 12:43:06 +0000 (12:43 +0000)]
checkfiledocs.py: blacklist mingw-include from doc check

10 years agocheckfiledocs.py: only check source code under src and include
rbencina [Sun, 6 Sep 2015 12:37:38 +0000 (12:37 +0000)]
checkfiledocs.py: only check source code under src and include

10 years agoIssue #234 fixed typo in configure and configure.in affecting mingw builds. Rename...
rbencina [Sun, 6 Sep 2015 10:55:01 +0000 (10:55 +0000)]
Issue #234 fixed typo in configure and configure.in affecting mingw builds. Rename: pa_win_wdmks_util.o --> pa_win_wdmks_utils.o

10 years agoremoved bindings/java from doxygen generated documentation
rbencina [Sun, 6 Sep 2015 10:26:16 +0000 (10:26 +0000)]
removed bindings/java from doxygen generated documentation

11 years agoPa_process: Fix output channel adaption by not skipping the conversion when the host...
gineera [Sun, 19 Apr 2015 18:48:38 +0000 (18:48 +0000)]
Pa_process: Fix output channel adaption by not skipping the conversion when the host and user number-of-channels are not equal.  Reported by Leif Asbrink when using an envy24 soundcard on Linux at it's native Int32 format with 1 or 2 channels.  Corresponding fix for input already in r1913.

11 years agoAdd Pa_GetVersionInfo()
philburk [Fri, 10 Apr 2015 04:00:09 +0000 (04:00 +0000)]
Add Pa_GetVersionInfo()
Add scripts to update pa_svnrevision.h

11 years agoTest adding a second file with SVN keywords.
philburk [Thu, 12 Mar 2015 16:23:11 +0000 (16:23 +0000)]
Test adding a second file with SVN keywords.

11 years agoUsed propset to enable SVN keywords on test file.
philburk [Thu, 12 Mar 2015 16:21:04 +0000 (16:21 +0000)]
Used propset to enable SVN keywords on test file.

11 years agoExperiment with the SVN version keywords.
philburk [Thu, 12 Mar 2015 16:16:44 +0000 (16:16 +0000)]
Experiment with the SVN version keywords.

11 years agoAdd version numbering with major.minor.subminor format.
philburk [Tue, 3 Mar 2015 17:28:15 +0000 (17:28 +0000)]
Add version numbering with major.minor.subminor format.
Bump version to 19.5.0

11 years agopa/wmme: avoid potential (but highly unlikely) overflow in buffer size in call to...
rbencina [Wed, 21 Jan 2015 06:52:11 +0000 (06:52 +0000)]
pa/wmme: avoid potential (but highly unlikely) overflow in buffer size in call to WideCharToMultiByte if a device name length exceeds INT_MAX. should also fix compiler warning about size_t to int assignment.

11 years agoremoved declaration of unused variable
rbencina [Wed, 21 Jan 2015 06:32:29 +0000 (06:32 +0000)]
removed declaration of unused variable

11 years agofixed compiler warning: conversion from 'double' to 'float', possible loss of data
rbencina [Wed, 21 Jan 2015 06:30:53 +0000 (06:30 +0000)]
fixed compiler warning: conversion from 'double' to 'float', possible loss of data

11 years agodisabled deprecated API warning for GetVersionEx in dsound, wmme and wdmks host APIs.
rbencina [Wed, 21 Jan 2015 06:24:32 +0000 (06:24 +0000)]
disabled deprecated API warning for GetVersionEx in dsound, wmme and wdmks host APIs.

11 years agoRemoved MSVC dependence on ksguid.lib from src/os/win/pa_win_wdmks_utils.c (ksguid...
rbencina [Wed, 21 Jan 2015 05:35:39 +0000 (05:35 +0000)]
Removed MSVC dependence on ksguid.lib from src/os/win/pa_win_wdmks_utils.c (ksguid.lib is no longer in Platform SDK 8.0). Always use static instances of GUIDs like the GCC builds do. Removed ksguid.lib from MSVC project file. The following symbols are no longer used: PA_WDMKS_NO_KSGUID_LIB, PAWIN_WDMKS_NO_KSGUID_LIB; removed them from CMakeLists.txt and the MSVC project file.

11 years agocpp binding: make operator == and != const. thanks to Riot for this patch. ticket...
rbencina [Tue, 20 Jan 2015 05:10:17 +0000 (05:10 +0000)]
cpp binding: make operator == and != const. thanks to Riot for this patch. ticket #230

11 years agoPA/CoreAudio: fixed copy-pasto: last host error was being associated with paInDevelop...
rbencina [Wed, 5 Nov 2014 01:03:57 +0000 (01:03 +0000)]
PA/CoreAudio: fixed copy-pasto: last host error was being associated with paInDevelopment host api not paCoreAudio

11 years agoAdded more debugging info in wdmks/pa_win_wdmks.c
robiwan [Thu, 28 Aug 2014 05:59:40 +0000 (05:59 +0000)]
Added more debugging info in wdmks/pa_win_wdmks.c

11 years agoCommitting Lelands patch for WDM-KS, should take care of some of the problems referen...
robiwan [Fri, 15 Aug 2014 06:35:32 +0000 (06:35 +0000)]
Committing Lelands patch for WDM-KS, should take care of some of the problems referenced here http://music.columbia.edu/pipermail/portaudio/2014-August/016246.html

12 years agoolivier's device name patch for os x
bejayoharen [Sat, 28 Jun 2014 16:28:17 +0000 (16:28 +0000)]
olivier's device name patch for os x

12 years agopa_win_ds.c converted tabs to spaces (only a small amount of code was incorrectly...
rbencina [Fri, 11 Apr 2014 05:46:40 +0000 (05:46 +0000)]
pa_win_ds.c converted tabs to spaces (only a small amount of code was incorrectly using tabs).

12 years agoDirectSound: correctly output device names as UTF-8 when compiled with UNICODE define...
rbencina [Fri, 11 Apr 2014 05:44:50 +0000 (05:44 +0000)]
DirectSound: correctly output device names as UTF-8 when compiled with UNICODE defined. Note that this patch may not be correct if UNICODE is not defined. Patch from Tobias Erichsen. See ticket #224 for details.

12 years agopa_win_wmme.c: converted tabs to spaces (just a few sections)
rbencina [Fri, 11 Apr 2014 05:31:13 +0000 (05:31 +0000)]
pa_win_wmme.c: converted tabs to spaces (just a few sections)

12 years agoWMME: correctly convert device names to UTF-8, see ticket #224. Thanks to Tobias...
rbencina [Fri, 11 Apr 2014 05:25:48 +0000 (05:25 +0000)]
WMME: correctly convert device names to UTF-8, see ticket #224. Thanks to Tobias Erichsen for the patch.

12 years agoCMake: Added PA_WDMKS_NO_KSGUID_LIB to WDMKS and solution folders
robiwan [Wed, 9 Apr 2014 14:27:21 +0000 (14:27 +0000)]
CMake: Added PA_WDMKS_NO_KSGUID_LIB to WDMKS and solution folders
WDMKS: Support for default device (see caveat for input devices though in ScanDeviceInfos)
       Added possibility to set channel mask

12 years agoClarified safety of operations in callback (doc)
bejayoharen [Wed, 5 Feb 2014 18:43:31 +0000 (18:43 +0000)]
Clarified safety of operations in callback (doc)

12 years agoupdated Windows+ASIO build tutorial: Building Portaudio for Windows with ASIO support... pa_stable_v19_20140130_r1919
rbencina [Thu, 30 Jan 2014 11:46:42 +0000 (11:46 +0000)]
updated Windows+ASIO build tutorial: Building Portaudio for Windows with ASIO support using MSVC. The tutorial was out of date and contained a number of errors that broke the build process.

12 years agotweaked Windows build tutorial: Building PortAudio for Windows using Microsoft Visual...
rbencina [Thu, 30 Jan 2014 10:12:02 +0000 (10:12 +0000)]
tweaked Windows build tutorial: Building PortAudio for Windows using Microsoft Visual Studio - various improvements to clarity of text. Fixed broken ASIO SDK URL.

12 years agoAdd stub to pa_trace.c to eliminate warning.
philburk [Fri, 17 Jan 2014 03:45:15 +0000 (03:45 +0000)]
Add stub to pa_trace.c to eliminate warning.

"make install" was causing a warning if PA_TRACE_REALTIME_EVENTS
was not defined.

12 years ago[tests] Add EOL to patest_mono.c
philburk [Thu, 16 Jan 2014 17:51:26 +0000 (17:51 +0000)]
[tests] Add EOL to patest_mono.c

Build was failing on Mac because of the missing end-of-line.

12 years ago[macosx] Add support for SDK 10.8 and 10.9.
philburk [Thu, 16 Jan 2014 17:49:33 +0000 (17:49 +0000)]
[macosx] Add support for SDK 10.8 and 10.9.

This was required to fix a broken build caused
by not having SDK 10.7 or earlier.

12 years agoPa_process: Fix input channel adaption by not skipping the input conversion when...
gineera [Mon, 18 Nov 2013 11:42:27 +0000 (11:42 +0000)]
Pa_process: Fix input channel adaption by not skipping the input conversion when the host and user number-of-channels are not equal.  The bug manifested when recording mono from a stereo-only device (eg with Alsa hw: devices on some sound-cards), and was reported by the Mixxx team -see https://bugs.launchpad.net/mixxx/+bug/900364.  (In the long-term, some refactoring may be preferable.)  Also fixed copy-paste typos in comments.

12 years agoJack: Add a port-type filter expression to calls to jack_get_ports() so that only...
gineera [Fri, 15 Nov 2013 12:27:07 +0000 (12:27 +0000)]
Jack: Add a port-type filter expression to calls to jack_get_ports() so that only audio ports are listed (removing eg Midi etc) as reported by 'sqweek'.

12 years agoAlsa: Revise the use of the environment variable 'PA_ALSA_PLUGHW' so it correctly...
gineera [Thu, 17 Oct 2013 12:44:09 +0000 (12:44 +0000)]
Alsa: Revise the use of the environment variable 'PA_ALSA_PLUGHW' so it correctly influences the Device-List and the capabilities reported.  Also rename a mis-leading variable and add one additional DEBUG line.

12 years agopaqa_devs: limit max number of channels tested (to 4); add a fixed decimal format...
gineera [Sat, 7 Sep 2013 10:14:52 +0000 (10:14 +0000)]
paqa_devs: limit max number of channels tested (to 4); add a fixed decimal format to the timestamp printout.

12 years agopa_mac_core.c line 664 fixed incorrect memset size (was using sizeof(ptr) not sizeof...
rbencina [Thu, 29 Aug 2013 00:36:56 +0000 (00:36 +0000)]
pa_mac_core.c line 664 fixed incorrect memset size (was using sizeof(ptr) not sizeof(struct type)

12 years agoAlsa: Add function to prevent duplicate parts in the visible pa device name string...
gineera [Tue, 27 Aug 2013 17:14:51 +0000 (17:14 +0000)]
Alsa: Add function to prevent duplicate parts in the visible pa device name string, that occur when the pcm-device name starts with the card name (since they are both used).  Achieved by trimming the pcm-device string beginning.

12 years agoAlsa: Fix memory leak as nonMmapBuffers were not freed (since change to realloc)...
gineera [Thu, 22 Aug 2013 22:01:17 +0000 (22:01 +0000)]
Alsa: Fix memory leak as nonMmapBuffers were not freed (since change to realloc).  Clean out corresponding dead code chunk.

12 years agoAlsa: Rename some variables in pa_linux_alsa where the meaning is mis-leading or...
gineera [Thu, 22 Aug 2013 19:43:07 +0000 (19:43 +0000)]
Alsa: Rename some variables in pa_linux_alsa where the meaning is mis-leading or wrong in the Alsa context.  Also tweak one debug message and a few typos.

12 years agoAlsa: Fix handling of poll descriptors in PaAlsaStream_WaitForFrames(). Otherwise...
gineera [Tue, 13 Aug 2013 20:37:04 +0000 (20:37 +0000)]
Alsa: Fix handling of poll descriptors in PaAlsaStream_WaitForFrames().  Otherwise if capture signals before playback a duplex stream could poll the wrong descriptor, causing a loop (reported by Alexander Kartashov).

12 years agofixed bug that was causing memory corruption in PA/ALSA when host sample format was...
rbencina [Tue, 6 Aug 2013 08:26:55 +0000 (08:26 +0000)]
fixed bug that was causing memory corruption in PA/ALSA when host sample format was lager than user format. e.g. using 16 bit output with a sound card that used 24 bit buffers. the incorrect input zeroer was being used. Thanks to Anders Tornvig for identifying the problem

13 years agofixed doxygen markup for a few line breaks in the tutorial
rbencina [Wed, 24 Jul 2013 15:37:15 +0000 (15:37 +0000)]
fixed doxygen markup for a few line breaks in the tutorial