Bug 1323659 - Enable audio multi-channels on Linux; r=jya
authorChun-Min Chang <chun.m.chang@gmail.com>
Wed, 08 Feb 2017 12:56:20 +0800
changeset 341544 e8e46a5f511d767471b57e6775c028b0a4c21ef3
parent 341543 c74aceef62c86f5e7916ba31283bd4433e697bc1
child 341545 e7862da54b607c4907502a9256514057d92631e8
push id31335
push usercbook@mozilla.com
push dateThu, 09 Feb 2017 10:23:41 +0000
treeherdermozilla-central@70debab47688 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1323659
milestone54.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 1323659 - Enable audio multi-channels on Linux; r=jya MozReview-Commit-ID: 4nRHiH1JcbE
dom/media/MediaPrefs.h
--- a/dom/media/MediaPrefs.h
+++ b/dom/media/MediaPrefs.h
@@ -85,17 +85,17 @@ private:
   };
 
   // This is where DECL_MEDIA_PREF for each of the preferences should go.
 
   // AudioSink
   DECL_MEDIA_PREF("accessibility.monoaudio.enable",           MonoAudio, bool, false);
   DECL_MEDIA_PREF("media.resampling.enabled",                 AudioSinkResampling, bool, false);
   DECL_MEDIA_PREF("media.resampling.rate",                    AudioSinkResampleRate, uint32_t, 48000);
-#if defined(XP_WIN)
+#if defined(XP_WIN) || defined(LINUX)
   // Enable multiple channel support on Windows.
   DECL_MEDIA_PREF("media.forcestereo.enabled",                AudioSinkForceStereo, bool, false);
 #else
   DECL_MEDIA_PREF("media.forcestereo.enabled",                AudioSinkForceStereo, bool, true);
 #endif
   // VideoSink
   DECL_MEDIA_PREF("media.ruin-av-sync.enabled",               RuinAvSync, bool, false);