Commit graph

66 commits

Author SHA1 Message Date
rossb
64936ef6ee added test case to patest_stop_playout.c which catches issues with host buffers looping/not being cleared if the callback returns paComplete 2010-01-24 11:48:06 +00:00
rossb
0c322e7aba reworked DirectSound stream completion to correctly flush the buffer processor and zero DS buffers when the callback returns paComplete or paAbort. resolves ticket #86. use test patest_stop_playout.c to verify. 2010-01-24 11:42:56 +00:00
rossb
91d13a5866 clean up resources better if DirectSound OpenStream fails 2010-01-24 09:34:48 +00:00
rossb
ecd151713f fixes to DirectSound implementation to work in unicode builds 2010-01-24 09:21:50 +00:00
rossb
1349e5a344 use a win32 Event object (aka condition variable) to signal timer process completio to Pa_StopStream in DirectSound implementation. resolves race condition when stopping direct sounds streams. 2010-01-24 09:20:23 +00:00
rossb
99e0648891 added msvc link pragma to require ksguid.lib 2010-01-24 08:42:02 +00:00
rossb
6bd9c2fd1a made buffer in PaUtil_DebugPrint local rather than static to avoid multithreaded issues 2009-12-23 05:35:08 +00:00
rossb
a979aceffd ifdefs for correct windows mobile compilation 2009-12-10 08:10:08 +00:00
rossb
dc6f3c8ec2 added cast to IsDebuggerPresentPtr, fixes compilation of asio on some systems 2009-12-10 08:09:21 +00:00
bjornroche
3edc75b860 updated configure with a simple run of autoconf. seems to work on mac. 2009-12-10 01:37:02 +00:00
rossb
0263158765 derive ds output channel count from speaker configuration when pnpInterface is unavailable (eg wavemapper). Thanks to Dmitry Kostjuchenko for the patch. 2009-12-09 01:55:50 +00:00
rossb
ed9e516fca fix for bad x64 DWORD_PTR define 2009-12-09 01:42:59 +00:00
rossb
61d1252b34 Fixed bug (when PAWIN_USE_WDMKS_DEVICE_INFO is defined) where wmme device channel count would be incorrect for default device resulting in distorted sound if user tries to open device with more channels than device can handle. Thanks to Dmitry Kostjuchenko for the patch. 2009-12-09 01:31:44 +00:00
rossb
bcffb6bd0a Update to Makefile.in and Configure.in from Stelios Bounanos: Pretty-print help strings, Support multiple APIs on win32 with mingw, Output a configuration summary at the end, Remove ASIO build configuration from OSX 2009-12-08 09:40:09 +00:00
rossb
bdc279551c Patch from Dmitry Kostjuchenko: Fixes x64 issue with mis-casting DWORD_PTRs to DWORDs, support proper conversion of device names in UNICODE builds, use of CreateThread instead of _beginthreadex with cygwin. 2009-12-08 09:26:33 +00:00
rossb
0b572e2aa8 added empty memory barrier macros for WINCE thanks to Dmitry Kostjuchenko 2009-12-08 09:17:34 +00:00
bjornroche
9e8176d71e added and removed dummy property listener as this may be required by OS X 10.6. Also, returned no error on property timeout. 2009-12-02 17:48:05 +00:00
bjornroche
72b656b6a6 cleanup of property change checking and error handling 2009-12-01 15:58:37 +00:00
bjornroche
b7e64ed868 added return char 2009-12-01 15:38:55 +00:00
bjornroche
3a3bef5adb removed some redundant code 2009-12-01 15:38:08 +00:00
bjornroche
767f6df949 added new test for hardware samplerate changes. This is mostly targetted to the mac, but could be adapted to other platforms as well. 2009-11-30 21:08:54 +00:00
bjornroche
8901efea70 fixes for hardware samplerate changes 2009-11-30 21:07:43 +00:00
bjornroche
21a768824d added assert back as suggested by Dmitry Kostjuchenko 2009-11-18 21:07:31 +00:00
bjornroche
c55f47de78 fix for ringbuffer problem on 64-bit macs. Also, this should make it possible to migrate away from using the long datatype on pa_ringbuffer. 2009-11-18 16:09:05 +00:00
bjornroche
f0279d9be3 added two includes which should not be necessary but seem to help compiling in snow leopard 2009-10-22 17:51:07 +00:00
bjornroche
31ed9cbe6e patch to use mach absolute time on mac OS X since apple advises against gettimeofday in IOProcs. Patch due to Ross Bencina. 2009-10-22 17:28:35 +00:00
philburk
998020553f Fixed dither for 64-bit targets. 2009-10-12 21:00:53 +00:00
rossb
3c9dc599e8 added instructions for building without ASIO support to the msvc readme 2009-09-09 12:48:17 +00:00
rossb
0e141b2d19 removed reaper asio driver blacklisting 2009-06-16 16:12:41 +00:00
aknudsen
a9238346fe Fix latency calculation in PA ALSA svn/1415 2009-06-03 18:57:56 +00:00
aknudsen
822c292009 Add PA ALSA extension to allow setting number of retries when busy 2009-05-24 17:02:10 +00:00
aknudsen
6e6e3ac65e Clarify hostapi ordering somewhat 2009-05-24 17:00:36 +00:00
aknudsen
85a522fc4a Apply Kevin Kofler's non-mmap patch 2009-05-24 16:54:22 +00:00
rossb
836bd46253 fix for half duplex and build issues from Toni Wilen. 2009-05-14 14:37:37 +00:00
rossb
076044de33 added pragma to autolink libwinmm with msvc to get timeGetTime symbol when only using ASIO. thanks Yann 2009-04-07 10:08:48 +00:00
davidv
a321952e95 fixed a bug in WAVEFORMATEX casts, and warnings on sprintf 2009-04-04 20:04:53 +00:00
rossb
a596358a3d fixed inputBufferAdcTime calculation for AdaptingInputOnlyProcess. patch from Yann. 2009-03-13 16:41:39 +00:00
rossb
e1cf376aa6 fixed bug in asio blocking i/o stream initialization which would cause crash (bad ptr). enabled timeout code in read/writestream. patch from sven fischer 2009-03-13 16:31:28 +00:00
rossb
654bc7cc21 added notes to pa_test_ac3.c that the test stream file must include the correct spdif preamble on every ac3 frame 2009-03-08 08:15:50 +00:00
rossb
5bf449b175 always disable wmme clip and dither if an spdif passthrough wave format is requested 2009-03-08 08:10:55 +00:00
rossb
78131d9a78 minor code logic cleanup 2009-03-08 07:15:03 +00:00
rossb
0b6a8f85bb added patest_wmme_ac3.cp test for wmme ac3 spdif passthrough 2009-01-29 07:33:04 +00:00
rossb
eb0ad74411 wmme host api: take account of paWinMmeWaveFormatDolbyAc3Spdif and paWinMmeWaveFormatWmaSpdif flags in Pa_IsFormatSupported 2009-01-29 06:28:30 +00:00
rossb
1de1b421f9 initial support for ac3+wma spdif passthrough for pa_win_wmme. see flags in pa_win_wmme.h. flags currently work for OpenStream but are ignored for IsFormatSupported 2009-01-21 12:07:32 +00:00
rossb
6cff10c3f4 doccomment for PaAsio_SetStreamSampleRate() 2009-01-21 10:20:42 +00:00
rossb
b4b747fc10 factored asio sample rate setting code into separate functions. added PaAsio_SetStreamSampleRate() function. 2009-01-05 09:08:44 +00:00
rossb
24a7e81401 cleaned up logic related to theAsioStream singleton pointer (now gets set in OpenStream and cleared in CloseStream. added callback-completion waiting to StopStream (was only in AbortStream before). cleaned up isStopped/isActive logic 2009-01-05 08:59:14 +00:00
rossb
96fd679385 cleanup: moved blocking stream asio callback function next to other blocking related code 2009-01-04 08:28:42 +00:00
philburk
e430a7cc36 remove extra parameter from debug statement to prevent pointer error 2008-11-03 19:31:30 +00:00
bjornroche
fe733fde8d fixed bug as suggested by Michael allen. This fixes issues with blocking IO on the mac when using different number of channels for input and output. 2008-10-24 14:10:04 +00:00