summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-26 15:46:39 +0200
committerwm4 <wm4@nowhere>2014-09-26 15:46:39 +0200
commit387d5f55e639425bfb6ee1efec4e21202e5642ad (patch)
treef0bd1b62dfa10029d31a33c7169bc7bc9f5f714b /wscript
parentda1918b89451905255e2ad05790c944615e2a51c (diff)
downloadmpv-387d5f55e639425bfb6ee1efec4e21202e5642ad.tar.bz2
mpv-387d5f55e639425bfb6ee1efec4e21202e5642ad.tar.xz
ao_sndio: print a warning when draining audio
libsndio has absolutely no mechanism to discard already written audio (other than SIGKILLing the sound server). sio_stop() will always block until all audio is played. This is a legitimate design bug. In theory, we could just not stop it at all, so if the player is e.g. paused, the remaining audio would be played. When resuming, we would have to do something to ensure get_delay() returns the right value. But I couldn't get it to work in all cases.
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions