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