summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi_utils.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-02-22 18:47:50 -0800
committerKevin Mitchell <kevmitch@gmail.com>2015-02-23 14:01:05 -0800
commit446fd5a43a56f15d7ecec5fb65544adeee0be72f (patch)
tree72555a09f6543cd31fc3427be9e594f7669f3078 /audio/out/ao_wasapi_utils.c
parent36011c7f6dbda356d64af3866305a036044333fa (diff)
downloadmpv-446fd5a43a56f15d7ecec5fb65544adeee0be72f.tar.bz2
mpv-446fd5a43a56f15d7ecec5fb65544adeee0be72f.tar.xz
ao_wasapi: move reset into audio thread
This makes things a bit more deterministic. It ensures that the audio thread isn't doing anything between IAudioClient_Stop(), IAudioClient_Reset() and setting the sample_count to 0. Buffer overfilling on resume is still a problem in exclusive mode (see next commit).
Diffstat (limited to 'audio/out/ao_wasapi_utils.c')
0 files changed, 0 insertions, 0 deletions