diff options
author | Max Kellermann <max@duempel.org> | 2009-11-09 22:22:27 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-09 22:22:27 +0100 |
commit | 8420f1420fba1254b26d812ea90fef59a5cbd867 (patch) | |
tree | e858361934faf95bbc5f18961b646c45aec4d84e /src/timer.c | |
parent | 3359f8785ef9b595b3ad943fdd2227f98ce56990 (diff) | |
download | mpd-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/timer.c')
0 files changed, 0 insertions, 0 deletions