mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Don't prepare the next track if the Transport is in the stopped state.
This commit is contained in:
parent
19ccad6001
commit
51e8fc943d
@ -141,7 +141,9 @@ void PlaybackService::ProcessMessage(IMessage &message) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (message.Type() == MESSAGE_PREPARE_NEXT_TRACK) {
|
else if (message.Type() == MESSAGE_PREPARE_NEXT_TRACK) {
|
||||||
this->PrepareNextTrack();
|
if (transport.GetPlaybackState() != ITransport::PlaybackStopped) {
|
||||||
|
this->PrepareNextTrack();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user