diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2016-02-26 06:58:09 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2016-02-26 15:43:51 -0800 |
commit | 84a3c21beb2f3360e4fda13179846406b4a24f7c (patch) | |
tree | 8c5e705a7d2adce3d521c88a51b6c104caee87c6 /audio/out/ao_pcm.c | |
parent | 31539884c829a0d2aec63d85647110282234a27a (diff) | |
download | mpv-84a3c21beb2f3360e4fda13179846406b4a24f7c.tar.bz2 mpv-84a3c21beb2f3360e4fda13179846406b4a24f7c.tar.xz |
ao_wasapi: replace laggy COM messaging with mp_dispatch_queue
A COM message loop is apparently totally inappropriate for a low latency
thread. It leads to audio glitches because the thread doesn't wake up fast
enough when it should. It also causes mysterious correlations between the vo
and ao thread (i.e., toggling fullscreen delays audio feed events). Instead use
an mp_dispatch_queue to set/get volume/mute/session display name from the audio
thread. This has the added benefit of obviating the need to marshal the
associated interfaces from the audio thread.
Diffstat (limited to 'audio/out/ao_pcm.c')
0 files changed, 0 insertions, 0 deletions