aboutsummaryrefslogtreecommitdiffhomepage
path: root/audio/out/ao.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-09-26 15:46:39 +0200
committerGravatar wm4 <wm4@nowhere>2014-09-26 15:46:39 +0200
commit387d5f55e639425bfb6ee1efec4e21202e5642ad (patch)
treef0bd1b62dfa10029d31a33c7169bc7bc9f5f714b /audio/out/ao.c
parentda1918b89451905255e2ad05790c944615e2a51c (diff)
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 'audio/out/ao.c')
0 files changed, 0 insertions, 0 deletions