mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 825635 - Volume control stops working in FM when headset is unplugged and plugged. r=baku
This commit is contained in:
parent
5cc5a6189c
commit
b3de1da085
@ -133,6 +133,7 @@ AudioChannelService::UnregisterType(AudioChannelType aType, uint64_t aChildID)
|
||||
if (isNoChannelUsed) {
|
||||
nsCOMPtr<nsIObserverService> obs = mozilla::services::GetObserverService();
|
||||
obs->NotifyObservers(nullptr, "audio-channel-changed", NS_LITERAL_STRING("default").get());
|
||||
mCurrentHigherChannel = AUDIO_CHANNEL_NORMAL;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user