Bug 1177399 - Enable AudioChannelService in desktop by default. r=ehsan
authorAndrea Marchesini <amarchesini@mozilla.com>
Mon, 13 Jul 2015 17:27:50 +0100
changeset 253502 0184189bf1c5cc86684da65bcbb301e73853162e
parent 253501 fa9fe193778fd56ae95d88484814541989b16f9e
child 253503 b1b8616162b422db01563cea69a84b376e839d9f
push id29067
push userkwierso@gmail.com
push dateSat, 18 Jul 2015 00:57:04 +0000
treeherdermozilla-central@e2f2eb9ecca0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1177399
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1177399 - Enable AudioChannelService in desktop by default. r=ehsan
mobile/android/app/mobile.js
modules/libpref/init/all.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -794,19 +794,16 @@ pref("dom.payment.provider.0.type", "moz
 pref("dom.payment.provider.0.requestMethod", "GET");
 
 // Shortnumber matching needed for e.g. Brazil:
 // 01187654321 can be found with 87654321
 pref("dom.phonenumber.substringmatching.BR", 8);
 pref("dom.phonenumber.substringmatching.CO", 10);
 pref("dom.phonenumber.substringmatching.VE", 7);
 
-// Support for the mozAudioChannel attribute on media elements is disabled in non-webapps
-pref("media.useAudioChannelService", false);
-
 // Enable hardware-accelerated Skia canvas
 pref("gfx.canvas.azure.backends", "skia");
 pref("gfx.canvas.azure.accelerated", true);
 
 // See ua-update.json.in for the packaged UA override list
 pref("general.useragent.updates.enabled", true);
 pref("general.useragent.updates.url", "https://dynamicua.cdn.mozilla.net/0/%APP_ID%");
 pref("general.useragent.updates.interval", 604800); // 1 week
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4986,8 +4986,13 @@ pref("dom.compositionevent.allow_control
 // Bug 1154053: Serialize B2G memory reports; smaller devices are
 // usually overcommitted on memory by using zRAM, so memory reporting
 // causes memory pressure from uncompressing cold heap memory.
 pref("memory.report_concurrency", 1);
 #else
 // Desktop probably doesn't have swapped-out children like that.
 pref("memory.report_concurrency", 10);
 #endif
+
+// Make <audio>, <video>, NPAPI plugins and webAudio talk to the AudioChannelService.
+pref("media.useAudioChannelService", true);
+// Add Mozilla AudioChannel APIs.
+pref("media.useAudioChannelAPI", false);