diff options
author | athenian200 <athenian200@outlook.com> | 2022-04-05 13:35:47 +0000 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2022-04-05 13:35:47 +0000 |
commit | 0bc66e3b04e77af307b62371ae9f4be70b2b19b7 (patch) | |
tree | 62f5a511ef1f2626e4a8808b55c9d590db594ee1 /dom/media/MediaPrefs.h | |
parent | 6e6b5d89964ea726b264c711bdf6f02fe0c006f5 (diff) | |
parent | bb830b178aa932877da78ff6c1ba6a236aa1dc7d (diff) | |
download | uxp-0bc66e3b04e77af307b62371ae9f4be70b2b19b7.tar.gz |
Merge pull request 'Update libcubeb to latest version' (#1812) from athenian200/UXP:libcubeb_final into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1812
Diffstat (limited to 'dom/media/MediaPrefs.h')
-rw-r--r-- | dom/media/MediaPrefs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dom/media/MediaPrefs.h b/dom/media/MediaPrefs.h index c1e66a3cee..84163353a5 100644 --- a/dom/media/MediaPrefs.h +++ b/dom/media/MediaPrefs.h @@ -86,8 +86,12 @@ private: 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); +#ifdef XP_WIN + // Enable multichannel 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); |