Bug 809577 - ifdef around gonk-only audiomanager code. r=benadida

This commit is contained in:
Jed Parsons 2012-11-08 14:35:03 -05:00
parent 206cf73a3d
commit a100b0be96

View File

@ -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 ======================