Commit graph

599 commits

Author SHA1 Message Date
dmitrykos
a525c38289 wasapi: fixed failure to initialize when Capture device is not provided by OS, silenced warnings in log functions 2018-01-10 20:58:14 +02:00
Ross Bencina
1bdcb9e413 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
2017-11-13 06:42:49 +00:00
dmitrykos
bc40f42cba 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)
2017-05-29 22:44:36 +03:00
Nicholas Appleton
72e319ad04 commit Rainer's work and make some minor modifications to the top-level cmakelists to make visual studio happy 2017-04-30 22:04:34 +10:00
Nicholas Appleton
a1f61a9a2c fix a tragic typo I made which prevented WASAPI being included with the CMake support. 2017-01-15 21:30:35 +11:00
Phil Burk
396fe4b669 Merge branch 'ticket_260_terminate' into 'master' pa_stable_v190600_20161030
pa_front.c: fix initializationCount_ in Pa_Terminate()

+1: Ross Bencina

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/4012103
2016-10-24 16:10:12 +00:00
Phil Burk
dde71d1114 pa_front.c: fix initializationCount_ in Pa_Terminate()
Was decrementing too soon and causing Pa_CloseStream() to fail.
See ticket #260
2016-10-23 14:50:01 -07:00
Ross Bencina
49d0634189 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
2016-10-10 00:56:01 +00:00
Ross Bencina
037f18a2e4 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
2016-10-04 12:59:26 +00:00
Nicholas Appleton
e0947b7d6a replicate the library dependencies in the configure script 2016-10-02 21:50:42 +11:00
Ross Bencina
18b2ab2339 Fix for ticket #257: MinGW-w64: Inclusion of <winioctl.h> triggers multiple redefinition errors. 2016-10-02 20:34:04 +11:00
Phil Burk
82773feed7 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
2016-09-27 15:49:46 +00:00
Phil Burk
f275c76ca9 paex_read_write_wire: fix crossed initialization
MinGW complained.

Fixes ticket #256
2016-09-26 15:42:38 -07:00
Ross Bencina
03eabbf9cd 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
2016-09-25 08:07:53 +00:00
Ross Bencina
fcc15ae053 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
2016-09-25 08:07:41 +00:00
Ross Bencina
12f967356b Added Available as of version 19.6.0 doc comments for new wasapi host-api-specific APIs. 2016-09-25 17:55:12 +10:00
Ross Bencina
e50b31bd40 Update doxygen comments for WDM/KS to indicate that new APIs are available in 19.5.0 2016-09-25 17:49:15 +10:00
Ross Bencina
d940dcb8b8 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). 2016-09-25 17:34:16 +10:00
Ross Bencina
6dbb8a6d64 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
2016-09-25 05:49:16 +00:00
Ross Bencina
3765e908c2 Merge branch 'cmake_updates' into 'master'
Update PortAudio CMake Support

+1: Ross Bencina

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3751483
2016-09-25 05:48:45 +00:00
Phil Burk
3f7248cd00 pa_front: bumped to 19.6.0 2016-09-24 09:02:56 -07:00
Phil Burk
b69214bcb4 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
2016-09-24 16:01:14 +00:00
Phil Burk
339e875f42 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.
2016-09-24 08:53:28 -07:00
Ross Bencina
5044381068 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
2016-09-24 06:25:06 +00:00
Ross Bencina
c2326aa8f0 updated doc comments to reflect that versionControlRevision is now a git revision hash 2016-09-23 21:10:21 +10:00
Ross Bencina
2c0aed9d8f 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. 2016-09-23 18:49:00 +10:00
Phil Burk
b2f9375237 pa_front: bump version to 19.5.1 for release 2016-09-22 09:29:36 -07:00
Phil Burk
cacc5dc4ba pa_mac_core: use MAX(inputFrames,outputFrames)
Double-check whether the stream does ouput before draining the buffer.
2016-09-22 09:05:38 -07:00
Ross Bencina
8b7f390907 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
2016-09-22 12:12:47 +00:00
Phil Burk
a38df79293 pa_mac_core_blocking: Fix timeout.
Change alignment of comment.
2016-09-21 15:46:30 -07:00
Ross Bencina
1cf10aa43f remove Microsoft copyright include files from src/hostapi/wasapi/mingw-include 2016-09-17 18:21:52 +10:00
Phil Burk
52bd2afb1d 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
2016-09-16 15:50:33 +00:00
Nick Appleton
0c10cb6c0c 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. 2016-09-15 22:52:44 +10:00
Nicholas Appleton
1389dee5f6 get examples compiling with CMake on Windows again 2016-09-15 22:18:12 +10:00
Phil Burk
f17d549093 pa_linux_alsa: fix hang in callback caused by abort
The author of this patch is Alan Horstmann.

Fixes ticket #251
2016-09-14 08:50:33 -07:00
Phil Burk
0bc7cf9465 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
2016-09-13 18:49:00 -07:00
Nicholas Appleton
2251a12026 undo whitespace change to pa_win_wasapi.c and fix a CMake grumbling about an unmatched ENDIF() closing expression 2016-09-13 22:16:55 +10:00
Nicholas Appleton
0fc163720c supply pkg-config version via setting in CMakeLists.txt - allow installation when using MinGW 2016-09-13 22:04:31 +10:00
Nicholas Appleton
dc568d54a8 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. 2016-09-13 21:55:31 +10:00
Ross Bencina
05da7a854d 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
2016-09-11 17:38:12 +00:00
Phil Burk
9e2cf27ca7 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
2016-09-10 17:16:19 +00:00
Phil Burk
fc5de750f8 Remove version printing from paex_sine.c 2016-09-09 09:06:27 -07:00
Phil Burk
a553478d71 PA_GIT_REVISION: new scripts to replace SVN revision
update_gitrevision.sh should be run before building on Mac or Linux.
2016-09-05 17:03:27 -07:00
dmitrykos
e1d4ec6664 wasapi: made ActivateAudioInterface_WINRT more universal in terms of getting other audio interfaces, for example IAudioEndpointVolume 2016-09-01 09:00:38 +03:00
Ross Bencina
d0d5020ddf 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
2016-09-01 00:36:17 +00:00
dmitrykos
72dd5db968 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) 2016-08-29 09:54:49 +03:00
Ross Bencina
0648f7e63b 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
2016-08-28 00:14:32 +00:00
Nicholas Appleton
cdbc78e54f change the compiler flags into a compiler definitions list as we never modify the flags - add some documentation 2016-08-27 10:43:42 +10:00
Nicholas Appleton
983a853635 move changes to cmake lists made in my personal github space into the assembla branch. I will work in here from this point. 2016-08-27 09:52:57 +10:00
dmitrykos
319b19203a wasapi: replaced InterlockedCompareExchange with InterlockedOr and added clarifying comment why Interlocked API is used 2016-08-26 22:31:45 +03:00