]> Repos - portaudio/commit
Fixed directsound PaDeviceInfo default latency and PaStreamInfo latency fields. Fixed...
authorrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 25 Aug 2011 15:59:32 +0000 (15:59 +0000)
committerrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 25 Aug 2011 15:59:32 +0000 (15:59 +0000)
commit4939e412482837c441abd105b4eca3ae0557265e
tree1e7667f009e997f1b923322c2a785e25194e0c3f
parent0750039754c4c1818a4f3136f36208404c94897f
Fixed directsound PaDeviceInfo default latency and PaStreamInfo latency fields. Fixed host buffer size calculations based on suggestedLatency parameters. Switched to using 48kHz as default sample rate when other info isn't available. Fixed edge case in TimeSlice() where a full duplex stream could read data even though either input or output reported zero bytes available. Renamed some variables for clarity. Fixes ticket #160 (PaStreamInfo latency). Addresses #122 (although we're still using old default latency values from V18 codebase). Addresses #99 (correct interpretation of suggestedLatency down to zero).
include/pa_win_ds.h
src/hostapi/dsound/pa_win_ds.c