summaryrefslogtreecommitdiffstats
path: root/audio/out/ao.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-17 22:50:49 +0200
committerwm4 <wm4@nowhere>2014-04-17 22:50:49 +0200
commit40a072480c5d52d7daa21dd6162dfba40954f053 (patch)
treec5e5d8593093869fffae319adaff8025827ea94c /audio/out/ao.h
parentfe298bc2a571405f38343eb9c6280f694db49ffa (diff)
downloadmpv-40a072480c5d52d7daa21dd6162dfba40954f053.tar.bz2
mpv-40a072480c5d52d7daa21dd6162dfba40954f053.tar.xz
audio: add hack against broken pulseaudio EOF condition
This was reported with PulseAudio 2.1. Apparently it still has problems with reporting the correct delay. Since ao_pulse.c still has our custom get_delay implementation, there's a possibility that this is our fault, but this seems unlikely, because it's full of workarounds for issues like this. It's also possible that this problem doesn't exist on PulseAudio 5.0 anymore (I didn't explicitly retest it). The check is general and works for all push based AOs. For pull based AOs, this can't happen as pull.c implements all the logic correctly.
Diffstat (limited to 'audio/out/ao.h')
0 files changed, 0 insertions, 0 deletions