diff options
Diffstat (limited to 'src/player')
-rw-r--r-- | src/player/Thread.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx index 5b00d2a57..13477fe0a 100644 --- a/src/player/Thread.cxx +++ b/src/player/Thread.cxx @@ -185,8 +185,7 @@ public: Player(PlayerControl &_pc, DecoderControl &_dc, MusicBuffer &_buffer) noexcept :pc(_pc), dc(_dc), buffer(_buffer), - decoder_wakeup_threshold((pc.buffered_before_play + - buffer.GetSize() * 3) / 4) + decoder_wakeup_threshold(buffer.GetSize() * 3 / 4) { } |