player/Thread: simplify loop condition
This commit is contained in:
parent
e3142312bb
commit
a190db0873
|
@ -937,10 +937,7 @@ Player::Run() noexcept
|
|||
|
||||
pc.CommandFinished();
|
||||
|
||||
while (true) {
|
||||
if (!ProcessCommand())
|
||||
break;
|
||||
|
||||
while (ProcessCommand()) {
|
||||
if (buffering) {
|
||||
/* buffering at the start of the song - wait
|
||||
until the buffer is large enough, to
|
||||
|
|
Loading…
Reference in New Issue