]> Repos - portaudio/log
portaudio
7 years agowasapi: relax check for a latency range when deciding to switch from Event to Poll...
dmitrykos [Wed, 12 Dec 2018 21:29:44 +0000 (23:29 +0200)]
wasapi: relax check for a latency range when deciding to switch from Event to Poll mode to have 1-21 ms range fine tuneable, add check for a min period when correcting period for UAC1 devices to avoid failure to initialize audio client due to invalid period error

7 years agowasapi: get channels count and sample rate from a mix format (IAudioClient::GetMixFor...
dmitrykos [Mon, 10 Dec 2018 08:50:31 +0000 (10:50 +0200)]
wasapi: get channels count and sample rate from a mix format (IAudioClient::GetMixFormat) for a PaDeviceInfo to circumvent rare cases when WASAPI does not accept format provided PKEY_AudioEngine_DeviceFormat due to a wrong channel count (bug and solution reported by Etienne Dechamps (edechamps), discussion: http://app.assembla.com/spaces/portaudio/git/merge_requests/7024281), new PaWasapi_GetDeviceMixFormat API to get mix format provided by IAudioClient::GetMixFormat

7 years agowasapi: fixed MonoToStereo converter could write beyond the allowed memory region...
dmitrykos [Sun, 21 Oct 2018 10:21:28 +0000 (13:21 +0300)]
wasapi: fixed MonoToStereo converter could write beyond the allowed memory region if sample format is packed 24-bit integer, fixed DEF file by adding missing WASAPI API

7 years agowasapi: fixed callback not called for Input stream if 1 channel format is requested
dmitrykos [Sun, 23 Sep 2018 17:44:21 +0000 (20:44 +0300)]
wasapi: fixed callback not called for Input stream if 1 channel format is requested

7 years agowasapi: fixed crash on NULL
dmitrykos [Mon, 10 Sep 2018 20:09:44 +0000 (23:09 +0300)]
wasapi: fixed crash on NULL

7 years agowasapi: fixed input device can not be opened in Exclusive mode (regression of previou...
dmitrykos [Mon, 10 Sep 2018 19:55:27 +0000 (22:55 +0300)]
wasapi: fixed input device can not be opened in Exclusive mode (regression of previous commit)

7 years agowasapi: support Exclusive mode on UWP (use new function PaWasapi_SetDefaultInterfaceI...
dmitrykos [Thu, 6 Sep 2018 17:45:22 +0000 (20:45 +0300)]
wasapi: support Exclusive mode on UWP (use new function PaWasapi_SetDefaultInterfaceId to set device's interface id to make Exclusive mode work);
 - support for explicit 8.24 format (24-bit inside 32-bit container) by specifying paCustomFormat (see IMPORTANT notes in the header file);
 - new flag paWinWasapiExplicitSampleFormat to force explicit format and avoid fallback to a closest working;
 - new function PaWasapi_GetDeviceCurrentFormat to get device format of the opened stream;
 - support PaWasapi_ThreadPriorityXXX API on UWP to boot thread priority;
 - improved selection of the closest format in Exclusive mode.

8 years agowasapi: fixed compilation error of PaWasapi_GetAudioClient()
dmitrykos [Thu, 19 Jul 2018 18:42:21 +0000 (21:42 +0300)]
wasapi: fixed compilation error of PaWasapi_GetAudioClient()

8 years agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Sun, 1 Jul 2018 10:04:03 +0000 (10:04 +0000)]
Merge branch 'winrt' into 'master'

New PaWasapi_GetAudioClient() API and workaround to get real Windows version and thus use correct AudioClient interface version.

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

8 years agowasapi: new PaWasapi_GetAudioClient() API to get pointer to IAudioClient from PaStrea...
dmitrykos [Sat, 30 Jun 2018 09:21:59 +0000 (12:21 +0300)]
wasapi: new PaWasapi_GetAudioClient() API to get pointer to IAudioClient from PaStream, workaround to get real Windows version in order to be able to create correct version of IAudioClient interface (Windows 10 was reported as Windows 8 when using just GetVersion())

8 years agoMerge branch 'ticket_275_pass_void' into 'master'
Phil Burk [Sat, 26 May 2018 04:49:10 +0000 (04:49 +0000)]
Merge branch 'ticket_275_pass_void' into 'master'

Add void argument to Pa_GetVersionInfo()

+1: Anonymous

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

8 years agoAdd asio lib.
DaShun [Tue, 17 Apr 2018 03:36:55 +0000 (11:36 +0800)]
Add asio lib.

8 years agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Mon, 2 Apr 2018 19:16:18 +0000 (19:16 +0000)]
Merge branch 'winrt' into 'master'

wasapi: new WASAPI specific API PaWasapi_UpdateDeviceList() which allows to update WASAPI device list dynamically without a need to call Pa_Terminate() and then Pa_Initialize()

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

8 years agowasapi: correction to PaWasapi_UpdateDeviceList() API by making it unavailable by...
dmitrykos [Mon, 2 Apr 2018 19:15:49 +0000 (22:15 +0300)]
wasapi: correction to PaWasapi_UpdateDeviceList() API by making it unavailable by default unless PA_WASAPI_MAX_CONST_DEVICE_COUNT is explicitly defined

8 years agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Mon, 2 Apr 2018 18:55:13 +0000 (18:55 +0000)]
Merge branch 'winrt' into 'master'

WinRT: fixed failure to initialize WASAPI when Capture device is not provided by OS, and additional minor corrections.

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

8 years agowasapi: new WASAPI specific API PaWasapi_UpdateDeviceList() which allows to update...
dmitrykos [Mon, 2 Apr 2018 18:50:16 +0000 (21:50 +0300)]
wasapi: new WASAPI specific API PaWasapi_UpdateDeviceList() which allows to update WASAPI device list dynamically without a need to call Pa_Terminate() and then Pa_Initialize().

This new implementation overcomes current limitation of Pa_GetDeviceCount() API which gives constant device count by making WASAPI device list constant (32 devices by default) where 32 device slots can either be filled with a real device info or be empty for a future device changes.

Constant device list size can be altered by PA_WASAPI_MAX_CONST_DEVICE_COUNT define during a compile time. If PA_WASAPI_MAX_CONST_DEVICE_COUNT is set to 0 then PaWasapi_UpdateDeviceList() will be unavailable as well as dynamic device list update functionality.

This implementation also detects the audio device format change if user alters it via Windows Audio Controller GUI.

This implementation also makes WASAPI backend ready for a future implementation of device list updates via PortAudio public API. See internal PaError UpdateDeviceList().

8 years agowasapi: fixed failure to initialize when Capture device is not provided by OS, silenc...
dmitrykos [Wed, 10 Jan 2018 18:58:14 +0000 (20:58 +0200)]
wasapi: fixed failure to initialize when Capture device is not provided by OS, silenced warnings in log functions

8 years agoMerge branch 'winrt' into 'master'
Ross Bencina [Mon, 13 Nov 2017 06:42:49 +0000 (06:42 +0000)]
Merge branch 'winrt' into 'master'

WASAPI: corrections for Windows 10 UWP

+1: Ross Bencina, Anonymous, Roland Winklmeier

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

9 years agowasapi: corrected GetWindowsVersion() to return Windows 10 (was max Windows 8)
dmitrykos [Mon, 29 May 2017 19:44:36 +0000 (22:44 +0300)]
wasapi: corrected GetWindowsVersion() to return Windows 10 (was max Windows 8)
wasapi: use IAudioClient3 for Windows 10 for best compatibility
wasapi: fix compilation when Windows 10 SDK (10.0.15063.0) is used by removing SignalObjectAndWait() definition which creates duplicates with the system defined SignalObjectAndWait() (since 10.0.15063.0 it is supported by the OS again)

9 years agofix a tragic typo I made which prevented WASAPI being included with the CMake support.
Nicholas Appleton [Sun, 15 Jan 2017 10:30:35 +0000 (21:30 +1100)]
fix a tragic typo I made which prevented WASAPI being included with the CMake support.

9 years agoMerge branch 'ticket_260_terminate' into 'master' pa_stable_v190600_20161030
Phil Burk [Mon, 24 Oct 2016 16:10:12 +0000 (16:10 +0000)]
Merge branch 'ticket_260_terminate' into 'master'

pa_front.c: fix initializationCount_ in Pa_Terminate()

+1: Ross Bencina

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

9 years agopa_front.c: fix initializationCount_ in Pa_Terminate() ticket_260_terminate
Phil Burk [Sun, 23 Oct 2016 21:50:01 +0000 (14:50 -0700)]
pa_front.c: fix initializationCount_ in Pa_Terminate()

Was decrementing too soon and causing Pa_CloseStream() to fail.
See ticket #260

9 years agoMerge branch 'cmake_mingw_fixes' into 'master'
Ross Bencina [Mon, 10 Oct 2016 00:56:01 +0000 (00:56 +0000)]
Merge branch 'cmake_mingw_fixes' into 'master'

CMakedLists.txt: Replicate the library dependencies in the configure script

+1: Ross Bencina

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

9 years agoMerge branch '257-wdmks-winioctl-include' into 'master'
Ross Bencina [Tue, 4 Oct 2016 12:59:26 +0000 (12:59 +0000)]
Merge branch '257-wdmks-winioctl-include' into 'master'

Fix for ticket #257: MinGW-w64: Inclusion of <winioctl.h> triggers multiple redefinition errors.

+1: Phil Burk

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

9 years agoreplicate the library dependencies in the configure script cmake_mingw_fixes
Nicholas Appleton [Sun, 2 Oct 2016 10:50:42 +0000 (21:50 +1100)]
replicate the library dependencies in the configure script

9 years agoFix for ticket #257: MinGW-w64: Inclusion of <winioctl.h> triggers multiple redefinit...
Ross Bencina [Sun, 2 Oct 2016 09:34:04 +0000 (20:34 +1100)]
Fix for ticket #257: MinGW-w64: Inclusion of <winioctl.h> triggers multiple redefinition errors.

9 years agoMerge branch 'ticket_256_numchannels' into 'master'
Phil Burk [Tue, 27 Sep 2016 15:49:46 +0000 (15:49 +0000)]
Merge branch 'ticket_256_numchannels' into 'master'

paex_read_write_wire: fix crossed initialization

+1: Ross Bencina

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

9 years agopaex_read_write_wire: fix crossed initialization
Phil Burk [Mon, 26 Sep 2016 22:42:38 +0000 (15:42 -0700)]
paex_read_write_wire: fix crossed initialization

MinGW complained.

Fixes ticket #256

9 years agoMerge branch 'rb-doxygen-tweaks' into 'master'
Ross Bencina [Sun, 25 Sep 2016 08:07:52 +0000 (08:07 +0000)]
Merge branch 'rb-doxygen-tweaks' into 'master'

Doxygen documentation: Fix Front Page formatting, fix broken links, link to MinGW build instructions on Wiki

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

9 years agoMerge branch 'rb-document-api-version' into 'master'
Ross Bencina [Sun, 25 Sep 2016 08:07:41 +0000 (08:07 +0000)]
Merge branch 'rb-document-api-version' into 'master'

Document API Version Availability (e.g. `Available as of 19.5.0`).

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

9 years agoAdded `Available as of version 19.6.0` doc comments for new wasapi host-api-specific... rb-document-api-version
Ross Bencina [Sun, 25 Sep 2016 07:55:12 +0000 (17:55 +1000)]
Added `Available as of version 19.6.0` doc comments for new wasapi host-api-specific APIs.

9 years agoUpdate doxygen comments for WDM/KS to indicate that new APIs are available in 19.5.0
Ross Bencina [Sun, 25 Sep 2016 07:49:15 +0000 (17:49 +1000)]
Update doxygen comments for WDM/KS to indicate that new APIs are available in 19.5.0

9 years agoFix formatting of version API doxygen comments in portaudio.h. Add additional documen...
Ross Bencina [Sun, 25 Sep 2016 07:34:16 +0000 (17:34 +1000)]
Fix formatting of version API doxygen comments in portaudio.h. Add additional documentation details, see also, and version information (e.g. `Available as of 19.5.0`).

9 years agoMerge branch 'bump_version' into 'master'
Ross Bencina [Sun, 25 Sep 2016 05:49:16 +0000 (05:49 +0000)]
Merge branch 'bump_version' into 'master'

pa_front: bump version to 19.6.0 for release

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

9 years agoMerge branch 'cmake_updates' into 'master'
Ross Bencina [Sun, 25 Sep 2016 05:48:45 +0000 (05:48 +0000)]
Merge branch 'cmake_updates' into 'master'

Update PortAudio CMake Support

+1: Ross Bencina

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

9 years agopa_front: bumped to 19.6.0
Phil Burk [Sat, 24 Sep 2016 16:02:56 +0000 (09:02 -0700)]
pa_front: bumped to 19.6.0

9 years agoMerge branch 'ticket_252_nohang' into 'master'
Phil Burk [Sat, 24 Sep 2016 16:01:14 +0000 (16:01 +0000)]
Merge branch 'ticket_252_nohang' into 'master'

pa_mac_core_blocking: fix hang when running stream stopped (fixed merge)

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

9 years agopa_mac_core: fix whitespace and missing semicolon
Phil Burk [Sat, 24 Sep 2016 15:53:28 +0000 (08:53 -0700)]
pa_mac_core: fix whitespace and missing semicolon

It compiled without the semicolon because it was followed by a VDBUG,
which was followed by a semicolon. The VDBUG was disabled so its
semicolon finished the line above.

9 years agoMerge branch 'rb-version-doc-comment-cleanup' into 'master'
Ross Bencina [Sat, 24 Sep 2016 06:25:06 +0000 (06:25 +0000)]
Merge branch 'rb-version-doc-comment-cleanup' into 'master'

Updated doc comments in portaudio.h to reflect that versionControlRevision is now a git revision hash

+1: Phil Burk, Ross Bencina

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

9 years agoupdated doc comments to reflect that versionControlRevision is now a git revision... rb-version-doc-comment-cleanup
Ross Bencina [Fri, 23 Sep 2016 11:10:21 +0000 (21:10 +1000)]
updated doc comments to reflect that versionControlRevision is now a git revision hash

9 years agoDoxygen document tweaks: * Link to our Wiki for latest MinGW build information. ... rb-doxygen-tweaks
Ross Bencina [Fri, 23 Sep 2016 08:49:00 +0000 (18:49 +1000)]
Doxygen document tweaks: * Link to our Wiki for latest MinGW build information. * Fix for latest doxygen: non-displaying links on main page (add space before <br>). * Remove broken link to java binding docs (not compiled). * Update link to mailing list.

9 years agopa_front: bump version to 19.5.1 for release
Phil Burk [Thu, 22 Sep 2016 16:29:36 +0000 (09:29 -0700)]
pa_front: bump version to 19.5.1 for release

9 years agopa_mac_core: use MAX(inputFrames,outputFrames)
Phil Burk [Thu, 22 Sep 2016 16:05:38 +0000 (09:05 -0700)]
pa_mac_core: use MAX(inputFrames,outputFrames)

Double-check whether the stream does ouput before draining the buffer.

9 years agoMerge branch 'remove-microsoft-include-files' into 'master'
Ross Bencina [Thu, 22 Sep 2016 12:12:47 +0000 (12:12 +0000)]
Merge branch 'remove-microsoft-include-files' into 'master'

Remove Microsoft copyright include files from src/hostapi/wasapi/mingw-include

+1: Phil Burk, Ross Bencina

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

9 years agopa_mac_core_blocking: Fix timeout.
Phil Burk [Wed, 21 Sep 2016 22:46:30 +0000 (15:46 -0700)]
pa_mac_core_blocking: Fix timeout.

Change alignment of comment.

9 years agoremove Microsoft copyright include files from src/hostapi/wasapi/mingw-include remove-microsoft-include-files
Ross Bencina [Sat, 17 Sep 2016 08:21:52 +0000 (18:21 +1000)]
remove Microsoft copyright include files from src/hostapi/wasapi/mingw-include

9 years agoMerge branch 'ticket_251_alsacancel' into 'master'
Phil Burk [Fri, 16 Sep 2016 15:50:33 +0000 (15:50 +0000)]
Merge branch 'ticket_251_alsacancel' into 'master'

pa_linux_alsa: fix hang in callback caused by abort

+1: Phil Burk

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

9 years agoaddress all problems picked up by cmakelint except for line-length related comments...
Nick Appleton [Thu, 15 Sep 2016 12:52:44 +0000 (22:52 +1000)]
address all problems picked up by cmakelint except for line-length related comments. don't use min() in paex_record_file as it is a macro specific to windows.

9 years agoget examples compiling with CMake on Windows again
Nicholas Appleton [Thu, 15 Sep 2016 12:18:12 +0000 (22:18 +1000)]
get examples compiling with CMake on Windows again

9 years agopa_linux_alsa: fix hang in callback caused by abort
Phil Burk [Wed, 14 Sep 2016 15:50:33 +0000 (08:50 -0700)]
pa_linux_alsa: fix hang in callback caused by abort

The author of this patch is Alan Horstmann.

Fixes ticket #251

9 years agopa_mac_core_blocking: fix hang when running stream stopped
Phil Burk [Sat, 27 Aug 2016 20:53:10 +0000 (13:53 -0700)]
pa_mac_core_blocking: fix hang when running stream stopped

One thread was filling the buffer while
another thread was waiting for it to be empty.

Add thread safety warnings.

Fix ticket #252

9 years agoundo whitespace change to pa_win_wasapi.c and fix a CMake grumbling about an unmatche...
Nicholas Appleton [Tue, 13 Sep 2016 12:16:55 +0000 (22:16 +1000)]
undo whitespace change to pa_win_wasapi.c and fix a CMake grumbling about an unmatched ENDIF() closing expression

9 years agosupply pkg-config version via setting in CMakeLists.txt - allow installation when...
Nicholas Appleton [Tue, 13 Sep 2016 12:04:31 +0000 (22:04 +1000)]
supply pkg-config version via setting in CMakeLists.txt - allow installation when using MinGW

9 years agoonly build x86 plain converters in Visual Studio due because of assembly syntax....
Nicholas Appleton [Tue, 13 Sep 2016 11:55:31 +0000 (21:55 +1000)]
only build x86 plain converters in Visual Studio due because of assembly syntax. add library dependencies for asio to get MinGW builds linking. disable WASAPI when using MinGW as I cannot get it to work.

9 years agoMerge branch 'winrt' into 'master'
Ross Bencina [Sun, 11 Sep 2016 17:38:12 +0000 (17:38 +0000)]
Merge branch 'winrt' into 'master'

Correction to WASAPI host API implementation for WinRT platform

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

9 years agoMerge branch 'ticket_248_gitrevision' into 'master'
Phil Burk [Sat, 10 Sep 2016 17:16:19 +0000 (17:16 +0000)]
Merge branch 'ticket_248_gitrevision' into 'master'

PA_GIT_REVISION: new scripts to replace SVN revision

+1: Ross Bencina

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

9 years agoRemove version printing from paex_sine.c
Phil Burk [Fri, 9 Sep 2016 16:06:27 +0000 (09:06 -0700)]
Remove version printing from paex_sine.c

9 years agoPA_GIT_REVISION: new scripts to replace SVN revision
Phil Burk [Tue, 6 Sep 2016 00:03:27 +0000 (17:03 -0700)]
PA_GIT_REVISION: new scripts to replace SVN revision

update_gitrevision.sh should be run before building on Mac or Linux.

9 years agowasapi: made ActivateAudioInterface_WINRT more universal in terms of getting other...
dmitrykos [Thu, 1 Sep 2016 06:00:38 +0000 (09:00 +0300)]
wasapi: made ActivateAudioInterface_WINRT more universal in terms of getting other audio interfaces, for example IAudioEndpointVolume

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 agowasapi: return E_NOINTERFACE in PaActivateAudioInterfaceCompletionHandler::QueryInter...
dmitrykos [Mon, 29 Aug 2016 06:54:49 +0000 (09:54 +0300)]
wasapi: return E_NOINTERFACE in PaActivateAudioInterfaceCompletionHandler::QueryInterface, use C-style API for calling interface functions (in order to be unified with the rest of WASAPI code)

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 agochange the compiler flags into a compiler definitions list as we never modify the...
Nicholas Appleton [Sat, 27 Aug 2016 00:43:42 +0000 (10:43 +1000)]
change the compiler flags into a compiler definitions list as we never modify the flags - add some documentation

9 years agomove changes to cmake lists made in my personal github space into the assembla branch...
Nicholas Appleton [Fri, 26 Aug 2016 23:52:57 +0000 (09:52 +1000)]
move changes to cmake lists made in my personal github space into the assembla branch. I will work in here from this point.

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)