diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2016-02-19 00:27:12 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2016-02-26 15:43:51 -0800 |
commit | 82f102cfe3e700e6b09604b2f659f7a123a8ea87 (patch) | |
tree | f5a516174b788381f41e74cb278dbfa9fac7062f /audio/out/ao_coreaudio.c | |
parent | 84a3c21beb2f3360e4fda13179846406b4a24f7c (diff) | |
download | mpv-82f102cfe3e700e6b09604b2f659f7a123a8ea87.tar.bz2 mpv-82f102cfe3e700e6b09604b2f659f7a123a8ea87.tar.xz |
ao_wasapi: set buffer size to device period in exclusive mode
This eliminates some intermittent pops heard in a HRT MicroStreamer DAC
uncorrelated with user interaction. As a bonus, this resolves #1773 which I can
o longer reproduce as of this commit. Leave the 50ms buffer for shared mode
since that seems to be working quite well.
This is also the way exclusive mode is done in the MSDN example code:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd370844%28v=vs.85%29.aspx
This was originally increased in c545c40 to mitigate glitches that subsequent
refactorings have eliminated.
Diffstat (limited to 'audio/out/ao_coreaudio.c')
0 files changed, 0 insertions, 0 deletions