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
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
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
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
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
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
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
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
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
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
ed463ba658
Normalize all the line endings
2016-05-18 22:13:20 -07:00
Phil Burk
e18ea33d22
pa_mac_core.c: Removed some comments. Cleaned up logic.
2016-05-16 22:30:28 -07:00
Phil Burk
09588cc5d6
pa_mac_core: stop stream instead of asserting
...
Bug: 158
2016-05-01 18:10:23 -07: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
gineera
c0c0cb1414
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.
2015-04-19 18:48:38 +00:00
philburk
199e88fa66
Add Pa_GetVersionInfo()
...
Add scripts to update pa_svnrevision.h
2015-04-10 04:00:09 +00:00
philburk
cd6b1868de
Add version numbering with major.minor.subminor format.
...
Bump version to 19.5.0
2015-03-03 17:28:15 +00:00
rbencina
039bc21bda
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.
2015-01-21 06:52:11 +00:00
rbencina
b3216e814b
disabled deprecated API warning for GetVersionEx in dsound, wmme and wdmks host APIs.
2015-01-21 06:24:32 +00:00
rbencina
71b8f8142e
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.
2015-01-21 05:35:39 +00:00
rbencina
7f4f7e44cb
PA/CoreAudio: fixed copy-pasto: last host error was being associated with paInDevelopment host api not paCoreAudio
2014-11-05 01:03:57 +00:00
robiwan
6733684fca
Added more debugging info in wdmks/pa_win_wdmks.c
2014-08-28 05:59:40 +00:00
robiwan
d7085cb226
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
2014-08-15 06:35:32 +00:00
bejayoharen
55adee0a90
olivier's device name patch for os x
2014-06-28 16:28:17 +00:00
rbencina
4c720adbfa
pa_win_ds.c converted tabs to spaces (only a small amount of code was incorrectly using tabs).
2014-04-11 05:46:40 +00:00
rbencina
666f30ea67
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.
2014-04-11 05:44:50 +00:00
rbencina
9222d8bfb4
pa_win_wmme.c: converted tabs to spaces (just a few sections)
2014-04-11 05:31:13 +00:00
rbencina
7a3b2d1dd9
WMME: correctly convert device names to UTF-8, see ticket #224 . Thanks to Tobias Erichsen for the patch.
2014-04-11 05:25:48 +00:00
robiwan
4aa340a57e
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
2014-04-09 14:27:21 +00:00
philburk
13c1e731db
Add stub to pa_trace.c to eliminate warning.
...
"make install" was causing a warning if PA_TRACE_REALTIME_EVENTS
was not defined.
2014-01-17 03:45:15 +00:00
gineera
5583cd452b
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.
2013-11-18 11:42:27 +00:00