mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-27 21:14:08 +00:00
Fixed a bug where updating the transport wouldn't take effect until an app restart.
This commit is contained in:
parent
672a5fdb45
commit
05bef79366
@ -454,8 +454,8 @@ void PlaybackService::ProcessMessage(IMessage &message) {
|
||||
if (masterTransport) {
|
||||
const TransportType transportType = static_cast<TransportType>(
|
||||
playbackPrefs->GetInt(
|
||||
keys::Transport.c_str()),
|
||||
static_cast<int>(TransportType::Gapless));
|
||||
keys::Transport,
|
||||
static_cast<int>(TransportType::Gapless)));
|
||||
|
||||
if (masterTransport->GetType() != transportType) {
|
||||
masterTransport->SwitchTo(transportType);
|
||||
|
Loading…
Reference in New Issue
Block a user