summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-11-18 04:17:20 -0800
committerKevin Mitchell <kevmitch@gmail.com>2014-11-18 05:03:33 -0800
commitc545c406fa8d5d12391f77d8e758fd7b203c665e (patch)
treed06104270b42f7645aa5e3784185c2d3b64d298c /audio/out/ao_wasapi.c
parent1507ef05c2b36f8c603b56c3ebc63a541d17fe53 (diff)
downloadmpv-c545c406fa8d5d12391f77d8e758fd7b203c665e.tar.bz2
mpv-c545c406fa8d5d12391f77d8e758fd7b203c665e.tar.xz
ao/wasapi: increase buffer size to 50 ms
Before it was the default device period, which was too small causing glitches on on entering/exiting fullscreen.
Diffstat (limited to 'audio/out/ao_wasapi.c')
-rw-r--r--audio/out/ao_wasapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c
index 074a6b32b2..b328fd61b2 100644
--- a/audio/out/ao_wasapi.c
+++ b/audio/out/ao_wasapi.c
@@ -79,6 +79,7 @@ static void thread_feed(struct ao *ao)
EXIT_ON_ERROR(hr);
frame_count -= padding;
+ MP_TRACE(ao, "Frame to fill: %"PRIu32". Padding: %"PRIu32"\n", frame_count, padding);
}
BYTE *pData;