diff options
author | 2014-09-26 15:46:39 +0200 | |
---|---|---|
committer | 2014-09-26 15:46:39 +0200 | |
commit | 387d5f55e639425bfb6ee1efec4e21202e5642ad (patch) | |
tree | f0bd1b62dfa10029d31a33c7169bc7bc9f5f714b /player/main.c | |
parent | da1918b89451905255e2ad05790c944615e2a51c (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 'player/main.c')
0 files changed, 0 insertions, 0 deletions