]> Repos - portaudio/log
portaudio
7 years agoGet rid of the Scons-based build system. edechamps-remove-scons
Etienne Dechamps [Sun, 25 Nov 2018 13:52:29 +0000 (13:52 +0000)]
Get rid of the Scons-based build system.

There is no reason not to use CMake at this point, and keeping this
around is a maintenance burden. In fact, it was already broken at
the time of this commit. A quick Google search doesn't provide any
evidence that anyone actually cares about this.

7 years agoMerge branch 'winbuild' into 'master'
Etienne Dechamps [Sat, 15 Dec 2018 15:06:22 +0000 (15:06 +0000)]
Merge branch 'winbuild' into 'master'

Improvements to CMake build system on Windows

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

7 years agoInstall pa_win_waveformat.h with MME, DirectSound and WASAPI.
Etienne Dechamps [Sun, 25 Nov 2018 12:16:21 +0000 (12:16 +0000)]
Install pa_win_waveformat.h with MME, DirectSound and WASAPI.

pa_win_wmme.h, pa_win_ds.h and pa_win_wasapi.h all include
pa_win_waveformat.h. If the latter is not installed, none of these
headers are usable.

7 years agoTreat DirectSound just like any other standard Windows SDK library.
Etienne Dechamps [Sun, 25 Nov 2018 10:28:56 +0000 (10:28 +0000)]
Treat DirectSound just like any other standard Windows SDK library.

Currently the CMake build system goes through complicated logic to
find the DirectX SDK. This is completely unnecessary, because modern
versions of the Windows SDK include dsound.h and dsound.lib in the
standard paths, so it can be treated just like the other Windows OS
libraries and we can safely assume it is available.

This commit simplifies the logic and will allow the vcpkg portaudio
port to align with portaudio stream, by getting rid of this patch:
  https://github.com/Microsoft/vcpkg/blob/95f9ce56f32618cceda97d54af16e3d6c57fc4b3/ports/portaudio/find_dsound.patch

I have verified that PortAudio CMake still builds with this commit
with the following toolchains:
 - Windows Visual Studio 2017 native CMake support
 - mingw-w64 on Windows (msys2)
 - mingw-w64 cross-compiling from Debian Unstable

7 years agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Wed, 12 Dec 2018 21:39:57 +0000 (21:39 +0000)]
Merge branch 'winrt' into 'master'

WASAPI: relax latency check in Exclusive mode when switching from Event to Poll mode

+1: Etienne Dechamps

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

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 agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Mon, 10 Dec 2018 08:52:59 +0000 (08:52 +0000)]
Merge branch 'winrt' into 'master'

WASAPI: fix rare case when Shared Mode format obtained by PKEY_AudioEngine_DeviceFormat not accepted by WASAPI

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

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 agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Sun, 21 Oct 2018 10:24:52 +0000 (10:24 +0000)]
Merge branch 'winrt' into 'master'

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

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

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 agoMerge branch 'cmake_mingw_additions' into 'master'
Nicholas Appleton [Sun, 21 Oct 2018 04:14:22 +0000 (04:14 +0000)]
Merge branch 'cmake_mingw_additions' into 'master'

commit Rainer's work and make some minor modifications to the top-level cmakelists to make visual studio happy

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

7 years agoupdate cmake documentation cmake_mingw_additions
Nick Appleton [Fri, 12 Oct 2018 11:43:17 +0000 (22:43 +1100)]
update cmake documentation

7 years agofix typo
Nicholas Appleton [Thu, 4 Oct 2018 10:09:08 +0000 (20:09 +1000)]
fix typo

7 years agoMerge branch 'cmake_mingw_additions' of https://git.assembla.com/portaudio into cmake...
Nick Appleton [Tue, 2 Oct 2018 11:55:27 +0000 (21:55 +1000)]
Merge branch 'cmake_mingw_additions' of https://git.assembla.com/portaudio into cmake_mingw_additions

7 years agocreate and install cmake export targets to make it easier for people to include porta...
Nick Appleton [Tue, 2 Oct 2018 11:53:41 +0000 (21:53 +1000)]
create and install cmake export targets to make it easier for people to include portaudio in larger projects:

7 years agocommit Rainer's work and make some minor modifications to the top-level cmakelists...
Nicholas Appleton [Sun, 30 Apr 2017 12:04:34 +0000 (22:04 +1000)]
commit Rainer's work and make some minor modifications to the top-level cmakelists to make visual studio happy

7 years agocreate and install cmake export targets to make it easier for people to include porta...
Nick Appleton [Tue, 2 Oct 2018 11:53:41 +0000 (21:53 +1000)]
create and install cmake export targets to make it easier for people to include portaudio in larger projects:

7 years agoMerge branch 'winrt' into 'master' krokoziabla/win_package
Dmitry Kostjuchenko [Sun, 23 Sep 2018 17:46:21 +0000 (17:46 +0000)]
Merge branch 'winrt' into 'master'

WASAPI: Fixed callback not called for Input stream if 1 channel format is requested.

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

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 agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Mon, 10 Sep 2018 20:11:25 +0000 (20:11 +0000)]
Merge branch 'winrt' into 'master'

WASAPI: Fixed crash on NULL.

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

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 agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Mon, 10 Sep 2018 19:57:42 +0000 (19:57 +0000)]
Merge branch 'winrt' into 'master'

WASAPI: Fixed input device can not be opened in Exclusive mode (regression of previous commit).

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

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 agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Thu, 6 Sep 2018 17:52:14 +0000 (17:52 +0000)]
Merge branch 'winrt' into 'master'

WASAPI: Support for Exclusive mode on UWP, private API extension, fixes.

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

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.

7 years agoMerge branch 'ticket_274_xcode' into 'master'
Phil Burk [Sun, 19 Aug 2018 21:16:00 +0000 (21:16 +0000)]
Merge branch 'ticket_274_xcode' into 'master'

configure: support SDK 10.13 in XCode

fixed #274

+1: Ryan Ollos

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

8 years agoMerge branch 'winrt' into 'master'
Dmitry Kostjuchenko [Thu, 19 Jul 2018 18:47:52 +0000 (18:47 +0000)]
Merge branch 'winrt' into 'master'

WASAPI: Fixed compilation error of PaWasapi_GetAudioClient().

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

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 agoconfigure: support SDK 10.13 in XCode
Phil Burk [Sun, 18 Mar 2018 22:30:01 +0000 (15:30 -0700)]
configure: support SDK 10.13 in XCode

Updated configure.in
then ran autoconf to regenerate the configure script.

Fixes #274

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 agocommit Rainer's work and make some minor modifications to the top-level cmakelists...
Nicholas Appleton [Sun, 30 Apr 2017 12:04:34 +0000 (22:04 +1000)]
commit Rainer's work and make some minor modifications to the top-level cmakelists to make visual studio happy

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