[XMP] Disable switching back to system client mode
This commit is contained in:
parent
d393725353
commit
464e9a1645
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue