player/Thread: remove unnecessary "continue" keywords
This commit is contained in:
@@ -1082,7 +1082,6 @@ Player::Run() noexcept
|
|||||||
if (paused) {
|
if (paused) {
|
||||||
if (pc.command == PlayerCommand::NONE)
|
if (pc.command == PlayerCommand::NONE)
|
||||||
pc.Wait();
|
pc.Wait();
|
||||||
continue;
|
|
||||||
} else if (!pipe->IsEmpty()) {
|
} else if (!pipe->IsEmpty()) {
|
||||||
/* at least one music chunk is ready - send it
|
/* at least one music chunk is ready - send it
|
||||||
to the audio output */
|
to the audio output */
|
||||||
@@ -1099,7 +1098,6 @@ Player::Run() noexcept
|
|||||||
wait for it */
|
wait for it */
|
||||||
dc.Signal();
|
dc.Signal();
|
||||||
dc.WaitForDecoder();
|
dc.WaitForDecoder();
|
||||||
continue;
|
|
||||||
} else if (IsDecoderAtNextSong()) {
|
} else if (IsDecoderAtNextSong()) {
|
||||||
/* at the beginning of a new song */
|
/* at the beginning of a new song */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user