From 05bef7936653230e68ed83cb5893ceaf98d7913a Mon Sep 17 00:00:00 2001 From: casey langen Date: Thu, 18 Mar 2021 21:35:02 -0700 Subject: [PATCH] Fixed a bug where updating the transport wouldn't take effect until an app restart. --- src/musikcore/audio/PlaybackService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/musikcore/audio/PlaybackService.cpp b/src/musikcore/audio/PlaybackService.cpp index 2b6fcb2dc..dc7971031 100755 --- a/src/musikcore/audio/PlaybackService.cpp +++ b/src/musikcore/audio/PlaybackService.cpp @@ -454,8 +454,8 @@ void PlaybackService::ProcessMessage(IMessage &message) { if (masterTransport) { const TransportType transportType = static_cast( playbackPrefs->GetInt( - keys::Transport.c_str()), - static_cast(TransportType::Gapless)); + keys::Transport, + static_cast(TransportType::Gapless))); if (masterTransport->GetType() != transportType) { masterTransport->SwitchTo(transportType);