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.
This commit is contained in:
Max Kellermann 2013-11-06 20:14:38 +01:00
parent c4b1251d0a
commit ad27d06979
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -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

View File

@ -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),