[XMP] Disable switching back to system client mode

This commit is contained in:
Gliniak 2024-11-02 21:39:22 +01:00
parent d393725353
commit 464e9a1645
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ class AudioMediaPlayer {
XmpApp::PlaybackFlags GetPlaybackFlags() const { return playback_flags_; } XmpApp::PlaybackFlags GetPlaybackFlags() const { return playback_flags_; }
void SetPlaybackClient(XmpApp::PlaybackClient playback_client) { void SetPlaybackClient(XmpApp::PlaybackClient playback_client) {
if (playback_client == XmpApp::PlaybackClient::kSystem) {
return;
}
playback_client_ = playback_client; playback_client_ = playback_client;
} }