Commit graph

513 commits

Author SHA1 Message Date
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
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
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
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
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
dmitrykos
319b19203a wasapi: replaced InterlockedCompareExchange with InterlockedOr and added clarifying comment why Interlocked API is used 2016-08-26 22:31:45 +03:00
Ross Bencina
037e260d64 comment out C99 designated initializer syntax for versionInfo_ initializer. not C89 compatible 2016-08-26 19:42:09 +10:00
Ross Bencina
fce3367c23 remove trailing whitespace from end of lines 2016-08-26 19:33:31 +10:00
dmitrykos
dae0d7f8e7 wasapi: reverted the usage of Interlocked APIs for PaWasapiStream::running 2016-08-26 09:43:50 +03:00
dmitrykos
46bce3c39f wasapi: use InterlockedXXX APIs to secure inter-thread r/w access to variables to avoid possible deadlocks or logic corruption 2016-08-24 22:04:17 +03:00
dmitrykos
ef449bb5bf wasapi: more cleanup - normalized WIN32_WINRT to PA_WINRT, removed excessive declarations from SignalObjectAndWait, ActivateAudioInterfaceCompletionHandler set of functions 2016-08-14 19:01:20 +03:00
dmitrykos
326549c55e 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
2016-08-14 10:52:36 +03:00
dmitrykos
26c0dc4458 wasapi: code cleanup, removed compiler warnings 2016-08-08 21:09:15 +03:00
dmitrykos
2e7545f17f 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)
2016-08-03 22:39:41 +03:00
Phil Burk
7edc5cb655 Merge branch 'loopback' into 'master'
Loopback: fix warnings that prevent compilation

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3604853
2016-08-03 00:53:41 +00:00
Phil Burk
cf4ef2ce19 Loopback: fix warnings that prevent compilation
Add newline in biquad_filter.c
Add integer assert with tolerance.
2016-07-26 19:10:23 -07:00
Phil Burk
e111b3a269 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
2016-05-29 19:22:24 +00:00
Phil Burk
e89441f968 Restore paqa_devs 2016-05-21 17:31:53 -07:00
Phil Burk
36a6c92caa Revert paqa_devs 2016-05-21 17:30:21 -07:00
Phil Burk
315309f60e Mac: test adjustable number of channels. 2016-05-21 17:25:18 -07:00
Phil Burk
110043f842 Fix assert when reading or writing with non-power of 2 channels. 2016-05-18 22:29:45 -07:00
Phil Burk
21d185f815 Merge branch 'fixeol' into 'master'
Add .gitattributes to fix EOL

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3299183
2016-05-19 05:20:42 +00:00
Phil Burk
ed463ba658 Normalize all the line endings 2016-05-18 22:13:20 -07:00
Phil Burk
b99790cb7c Add .gitattributes to fix EOL 2016-05-18 22:05:13 -07:00
Phil Burk
89d176178b Merge branch 'noassert' into 'master'
pa_mac_core: stop stream instead of asserting

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3218623
2016-05-18 03:42:26 +00:00
Phil Burk
e18ea33d22 pa_mac_core.c: Removed some comments. Cleaned up logic. 2016-05-16 22:30:28 -07:00
Phil Burk
06ff140a61 Merge branch 'testgit2' into 'master'
test git changesets

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3221493
2016-05-03 01:26:54 +00:00
Phil Burk
cc1908fafb Another change and commit to the same branch 2016-05-02 09:13:22 -07:00
Phil Burk
274a289911 test git changesets 2016-05-02 09:12:05 -07:00
Phil Burk
09588cc5d6 pa_mac_core: stop stream instead of asserting
Bug: 158
2016-05-01 18:10:23 -07:00
Phil Burk
6c11a007c5 Merge branch 'ignorebin' into 'master'
gitignore: add more files from configure and make

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3218493
2016-05-01 22:42:50 +00:00
Phil Burk
83891bff3f gitignore: add more files from configure and make 2016-05-01 15:39:03 -07:00
Phil Burk
a68bacd2cf Merge branch 'ignore' into 'master'
Add .gitignore for C++

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3218363
2016-05-01 19:59:13 +00:00
Phil Burk
faff433ba6 Add .gitignore for C++ 2016-05-01 12:54:03 -07:00
philburk
13b2159821 patest_out_underflow: cleanup
Replace some tabs.
Print overflow under stress.
Prevent accidental overrange of phases array.
2016-04-10 18:12:03 +00:00
philburk
3d4139cb00 Update docs for building on Linux 2016-02-15 17:06:54 +00:00
philburk
d0628e9238 Files needed for compiling on El Capitan.
These files were autogenerated using autoreconf based
on changes from the previous commit.
2016-01-04 17:22:56 +00:00
philburk
6e9b37491a 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.
2016-01-04 17:22:00 +00:00
dmitrykos
f7b2d1542f wasapi: correction to the previous commit 2015-10-21 14:25:07 +00:00
dmitrykos
58eca02986 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 2015-10-20 16:02:39 +00:00
dmitrykos
4e194eaecf 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) 2015-10-19 11:03:31 +00:00
rbencina
fb929ad5fb update doxygen main page to reference developer guidelines and implementation style guidelines on the Wiki 2015-09-06 13:17:05 +00:00