diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:21:00 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:21:00 +0000 |
commit | 7dc1f3117c966f0403fb19eaceb9f3bed65ead5f (patch) | |
tree | 3bd43cb54529d44e24a9ae6c775176b7151ce256 /src/buffer2array.c | |
parent | 91b43b481dfab06de99a715c2e69f4c14c780abc (diff) | |
download | mpd-7dc1f3117c966f0403fb19eaceb9f3bed65ead5f.tar.gz mpd-7dc1f3117c966f0403fb19eaceb9f3bed65ead5f.tar.xz mpd-7dc1f3117c966f0403fb19eaceb9f3bed65ead5f.zip |
wake up player on demand
The decoder should not wake up the player when it did not produce a
flushed chunk. Move the decoder_wakeup_player() call to
flushOutputBuffer() and invoke it only if the buffer was previously
empty.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7336 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/buffer2array.c')
0 files changed, 0 insertions, 0 deletions