diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-08-23 15:52:44 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-23 15:52:44 -0700 |
commit | 5655d2e5922955763455134814035e7ad76d2529 (patch) | |
tree | 020cc15899b30596a4d8477a120d50cf536293a8 /src/log.h | |
parent | d822bdec0700b94d83f2e15c2aa6602307179724 (diff) | |
download | mpd-5655d2e5922955763455134814035e7ad76d2529.tar.gz mpd-5655d2e5922955763455134814035e7ad76d2529.tar.xz mpd-5655d2e5922955763455134814035e7ad76d2529.zip |
outputBuffer: fix buffer_before_play handling
buffer_before_play is a prebuffer; always respecting it
is almost as good as having no buffer at all. So we only
respect it when we haven't played anything.
Bugs that were a side effect of this also got fixed:
The player would not stop when we got to the end of the last
song on non-repeating playlists. The playlist would
continuously show the song in the last few seconds of
playback, and never move.
Having crossfade enabled would also amplify the above effect.
So, as a side effect, crossfade now correctly handles
end-of-playlist conditions, as well. It will fade out to
silence when we're at the end of a playlist.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions