]> Repos - portaudio/commit
wasapi:
authordmitrykos <dmitrykos@0f58301d-fd10-0410-b4af-bbb618454e57>
Mon, 12 Apr 2010 20:55:34 +0000 (20:55 +0000)
committerdmitrykos <dmitrykos@0f58301d-fd10-0410-b4af-bbb618454e57>
Mon, 12 Apr 2010 20:55:34 +0000 (20:55 +0000)
commit7d037383bcb1fed88cf24865546d979726b21f75
tree29fb973ee46c508601a2cf7393a2b2a10e2779e5
parent0b75c266df642be9964906cfffb3107661e94a73
wasapi:
 - fixed crash in Pa_OpenStream call if WASAPI device did not open or something failed (happened on stream handle cleanup due to double attempt to free same pointer)
 - improved the way WASAPI device is opening, such error as AUDCLNT_E_BUFFER_SIZE_ERROR which comes due to incorrectly small device period is fixed for Vista (and all other, including future) systems as well, latency will be corrected to device minimum (usually 3ms).
 - if suggestedLatency is set to 0 in Pa_OpenStream call then WASAPI device will select device default latency (in Exclusive mode it is 10ms, in Shared 20ms)
 - improved on-screen logging of WASAPI devices available during WASAPI initialization phase
src/hostapi/wasapi/pa_win_wasapi.c