mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 809577 - ifdef around gonk-only audiomanager code. r=benadida
This commit is contained in:
parent
819f66d79e
commit
1a9ce84b35
@ -56,6 +56,7 @@ var SettingsListener = {
|
||||
SettingsListener.init();
|
||||
|
||||
// =================== Audio ====================
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
SettingsListener.observe('audio.volume.master', 0.5, function(value) {
|
||||
let audioManager = Services.audioManager;
|
||||
if (!audioManager)
|
||||
@ -91,6 +92,7 @@ for each (let [setting, defaultValue, streamType] in audioSettings) {
|
||||
});
|
||||
})(setting, defaultValue, streamType);
|
||||
}
|
||||
#endif
|
||||
|
||||
// =================== Console ======================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user