Commit graph portaudio/src/hostapi/dsound
Author SHA1 Message Date
rob_bielik
59f8c8975c Ticket #132 2011-02-17 15:56:04 +00:00
rossb
ba156ee92f fixed stream info inputLatency and outputLatency calculations. PaUtil_GetBufferProcessorOutputLatency returns latency in <frames>, code assumed it was in seconds. 2011-02-12 09:19:37 +00:00
rossb
b4931e7298 removed/cleaned up doxygen @todo items. moved to TRAC 2011-02-02 18:58:17 +00:00
dmitrykos
24c304db21 wasapi:
- fixed compilation by MinGW, was failing due to double ambiguous jack describing enums used in KS
ds:
 - fixed compile by MinGW, was failing due to missing casts to LPVOID * and usage of UINT instead of DWORD by PaWinDsStream::previousPlayCursor
2010-08-03 21:02:52 +00:00
dmitrykos
b565ab5bdd fixed compile for DirectSound implementation under MSYS, missing DSSPEAKER_7POINT1_SURROUND define 2010-05-20 17:28:23 +00:00
rossb
1aaa8dab51 fix for undefined DirectSoundFullDuplex8 when PAWIN_USE_DIRECTSOUNDFULLDUPLEXCREATE wasn't defined. thanks Dmitry 2010-02-03 00:28:29 +00:00
rossb
fa4ad81354 Added code to PortAudio/DirectSound to use DX8 DirectSoundFullDuplexCreate API for full duplex streams where available. Define PAWIN_USE_DIRECTSOUNDFULLDUPLEXCREATE in your project to enable this feature. 2010-02-02 09:01:13 +00:00
rossb
d9af10e0c9 implemented paPrimeOutputBuffersUsingStreamCallback for DirectSound (previously this was the default). invoke some buffer reset code to from StartStream (actually ClearOutputBuffer) instead of OpenStream which should give cleaner startup behavior if the stream is started and stopped multiple times. fixed leaks under error in InitOutputBuffer and fixed leak of primary buffer (previously was never released) 2010-01-24 13:17:31 +00:00
rossb
011c1c0880 DirectSound don't crash when starting a blocking io (non-callback) stream. blocking io still not implemented though. 2010-01-24 12:09:34 +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
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
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
bjornroche
c1e1d067d2 moved trunk into place 2008-03-20 14:24:39 +00:00