aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-09 22:22:27 +0100
committerMax Kellermann <max@duempel.org>2009-11-09 22:22:27 +0100
commit8420f1420fba1254b26d812ea90fef59a5cbd867 (patch)
treee858361934faf95bbc5f18961b646c45aec4d84e /src/decoder_control.c
parent3359f8785ef9b595b3ad943fdd2227f98ce56990 (diff)
downloadmpd-8420f1420fba1254b26d812ea90fef59a5cbd867.tar.gz
mpd-8420f1420fba1254b26d812ea90fef59a5cbd867.tar.xz
mpd-8420f1420fba1254b26d812ea90fef59a5cbd867.zip
player_thread: drain audio outputs at the end of the playlist
When there's no queued song, and the current one has finished playing, first make sure that the hardware outputs have really finished playing the last chunk: call the drain() method in all audio outputs. Without this patch, MPD stopped playback shortly before the ALSA sound card had finished playing.
Diffstat (limited to 'src/decoder_control.c')
0 files changed, 0 insertions, 0 deletions