diff options
author | Max Kellermann <max@duempel.org> | 2013-11-06 20:14:38 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-06 20:14:38 +0100 |
commit | ad27d06979311005560ee02a87595817f4ad2933 (patch) | |
tree | e704fda361171e6e2bb204aaa8d10be491d89766 | |
parent | c4b1251d0a7fdf86e5ff64720ea1945f5dd6ef52 (diff) | |
download | mpd-ad27d06979311005560ee02a87595817f4ad2933.tar.gz mpd-ad27d06979311005560ee02a87595817f4ad2933.tar.xz mpd-ad27d06979311005560ee02a87595817f4ad2933.zip |
PlayerThread: enable buffering when starting playback
For some reason, this got lost in commit 975deca8.
Re-enabling this fixes stuttering at the beginning of radio streams.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/PlayerThread.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ ver 0.18.2 (2013/??/??) * decoder: - audiofile: require libaudiofile 0.3 due to API breakage - dsf: enable DSD128 +* enable buffering when starting playback (regression fix) * fix build failures due to missing includes * fix big-endian support diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx index 73a5a0527..e2e3ee3a4 100644 --- a/src/PlayerThread.cxx +++ b/src/PlayerThread.cxx @@ -131,7 +131,7 @@ public: Player(PlayerControl &_pc, DecoderControl &_dc, MusicBuffer &_buffer) :pc(_pc), dc(_dc), buffer(_buffer), - buffering(false), + buffering(true), decoder_starting(false), paused(false), queued(true), |