diff options
author | Max Kellermann <max@duempel.org> | 2008-10-24 17:50:24 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-24 17:50:24 +0200 |
commit | ee499cb42f0a4095f1a64aa178c6f413a4a95e22 (patch) | |
tree | 6851508f57a050f0f0556b2ebfc469f4575f5c4c /src/playerData.h | |
parent | 18c6ebb02362319f0a65f53a353d06b8c57b1ff9 (diff) | |
download | mpd-ee499cb42f0a4095f1a64aa178c6f413a4a95e22.tar.gz mpd-ee499cb42f0a4095f1a64aa178c6f413a4a95e22.tar.xz mpd-ee499cb42f0a4095f1a64aa178c6f413a4a95e22.zip |
player: don't clear command before do_play() returns
This bug caused the audio output devices to stay open, although MPD
wasn't playing: quitDecode() resetted player_control.command, assuming
that the command was STOP. This way, player_task() didn't see the
CLOSE_AUDIO command, and the device was kept open.
Don't clear player_control.command in quitDecode().
Diffstat (limited to 'src/playerData.h')
0 files changed, 0 insertions, 0 deletions