mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 794424 - Send the headphone status at boot time. r=philipp
This commit is contained in:
parent
565de4fd06
commit
c185f04347
@ -152,6 +152,7 @@ AudioManager::AudioManager() : mPhoneState(PHONE_STATE_CURRENT),
|
||||
RegisterSwitchObserver(SWITCH_HEADPHONES, mObserver);
|
||||
|
||||
InternalSetAudioRoutes(GetCurrentSwitchState(SWITCH_HEADPHONES));
|
||||
NotifyHeadphonesStatus(GetCurrentSwitchState(SWITCH_HEADPHONES));
|
||||
}
|
||||
|
||||
AudioManager::~AudioManager() {
|
||||
|
Loading…
Reference in New Issue
Block a user