зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1772769 - Allow default multichannel audio support by restoring defines. r=kinetik
Earlier in bug 1351378 some superfluous set_define()s were removed. However, some were accidentally removed despite having purpose. This commit restores the MOZ_ALSA and MOZ_PULSEAUDIO defines, the former being used in Sandbox{Filter,BrokerPolicyFactory,Launch}.cpp and the latter used in setting the preference media.forcestereo.enabled to false which fixes the primary concern of bug report. Differential Revision: https://phabricator.services.mozilla.com/D158966
This commit is contained in:
Родитель
7f8701bedc
Коммит
a16e930ffd
|
@ -331,6 +331,7 @@ def enable_alsa_or_midir_linux_support(alsa_enabled, midir_linux_support):
|
|||
pkg_check_modules("MOZ_ALSA", "alsa", when=enable_alsa_or_midir_linux_support)
|
||||
|
||||
set_config("MOZ_ALSA", True, when="--enable-alsa")
|
||||
set_define("MOZ_ALSA", True, when="--enable-alsa")
|
||||
|
||||
# JACK cubeb backend
|
||||
# ==============================================================
|
||||
|
@ -351,6 +352,7 @@ option(
|
|||
pulseaudio = pkg_check_modules("MOZ_PULSEAUDIO", "libpulse", when="--enable-pulseaudio")
|
||||
|
||||
set_config("MOZ_PULSEAUDIO", depends_if(pulseaudio)(lambda _: True))
|
||||
set_define("MOZ_PULSEAUDIO", depends_if(pulseaudio)(lambda _: True))
|
||||
|
||||
# sndio cubeb backend
|
||||
# ==============================================================
|
||||
|
|
Загрузка…
Ссылка в новой задаче