firefox even force pulseaudio otherwise no sound on firefox.
So what's the solution to make it work on firefox if you're using other sound system?
Innovate wrote:firefox even force pulseaudio otherwise no sound on firefox.
So what's the solution to make it work on firefox if you're using other sound system?
kedaha wrote:Innovate wrote:firefox even force pulseaudio otherwise no sound on firefox.
So what's the solution to make it work on firefox if you're using other sound system?
I mentioned the solution in my reply above for OSS4: I can only obtain sound in Firefox by editing /etc/pulse/default.pa as detailed at Configuring_Applications_for_OSSv4#Pulseaudio.
Segfault wrote:To use plain ALSA in Debian you have to compile FF by yourself, the packaged FF depends on PA.
Head_on_a_Stick wrote:Segfault wrote:No, it doesn't
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# This file specifies the build flags for Firefox. You can use it by adding:
# . $topsrcdir/browser/config/mozconfig
# to the top of your mozconfig file.
ac_add_options --enable-application=browser
ac_add_options --enable-optimize=-O2 # Workaround known breakage
ac_add_options --disable-updater # disable_update_strip
ac_add_options --disable-strip # disable_update_strip
ac_add_options --disable-install-strip # disable_update_strip
ac_add_options --with-system-zlib # system_libs
ac_add_options --with-system-bz2 # system_libs
ac_add_options --enable-release # Enable by Gentoo
ac_add_options --enable-gold # tc-ld-is-gold=true
ac_add_options --enable-official-branding # +!bindist
ac_add_options --enable-pie # enabled by Gentoo
ac_add_options --disable-debug # -debug
ac_add_options --disable-tests # -debug
ac_add_options --disable-debug-symbols # disabled by Gentoo
ac_add_options --disable-startup-notification # -startup-notification
ac_add_options --disable-necko-wifi # -wifi
ac_add_options --disable-dbus # -dbus
ac_add_options --with-system-nspr #
ac_add_options --with-nspr-prefix=/usr #
ac_add_options --with-system-nss #
ac_add_options --with-nss-prefix=/usr #
ac_add_options --x-includes=/usr/include #
ac_add_options --x-libraries=/usr/lib64 #
ac_add_options --with-system-libevent=/usr #
ac_add_options --prefix=/usr #
ac_add_options --libdir=/usr/lib64 #
ac_add_options --enable-system-hunspell # Gentoo default
ac_add_options --disable-crashreporter #
ac_add_options --with-system-png # Gentoo default
ac_add_options --enable-system-ffi #
ac_add_options --disable-gconf #
ac_add_options --with-intl-api #
ac_add_options --enable-skia #
ac_add_options --enable-default-toolkit=cairo-gtk3 #
ac_add_options --target=x86_64-pc-linux-gnu #
ac_add_options --host=x86_64-pc-linux-gnu #
ac_add_options --disable-pulseaudio # -pulseaudio
ac_add_options --enable-alsa # -pulseaudio
ac_add_options --enable-content-sandbox # Sandbox
ac_add_options --enable-system-sqlite # +system-sqlite
ac_add_options --with-system-jpeg # +system-jpeg
ac_add_options --with-system-icu # +system-icu
ac_add_options --with-system-libvpx # +system-libvpx
ac_add_options --with-system-harfbuzz # +system-harfbuzz
ac_add_options --with-system-graphite2 # +system-harfbuzz
ac_add_options --disable-jack # -jack
ac_add_options --with-google-api-keyfile=/home/notmpfs/portage/www-client/firefox-58.0.1/work/firefox-58.0.1/google-api-key #
mk_add_options MOZ_OBJDIR=/home/notmpfs/portage/www-client/firefox-58.0.1/work/firefox-58.0.1/ff
mk_add_options XARGS=/usr/bin/xargs
ac_add_options --enable-extensions=default
Segfault wrote:OK, you are using apulse instead of PA. It is still a dependency.
I highly recommend it. Going back to Gentoo after ~11 years of Arch and Debian was like the rails under me just vanished. So much freedom of choice.Segfault wrote:Perhaps it is time to switch to Gentoo.
Gentoo isn't systemd-free, it's systemd-optional.Segfault wrote:No systemd here. GTK+ both 2 and 3 can be built systemd free.
There is a hard requirement for a pulseaudio-compatible API in firefox as available in the Debian repos. Whether that is provided by pulseaudio itself or the partial implementation in apulse is irrelevant. Firefox in Debian *requires* the pulseaudio API for working sound.Head_on_a_Stick wrote:There is *no* hard requirement for PA in firefox, please stop spreading FUD
steve_v wrote:There is a hard requirement for a pulseaudio-compatible API in firefox as available in the Debian repos. Whether that is provided by pulseaudio itself or the partial implementation in apulse is irrelevant. Firefox in Debian *requires* the pulseaudio API for working sound.Head_on_a_Stick wrote:There is *no* hard requirement for PA in firefox, please stop spreading FUD
You could call it a "soft" dependency if you don't want audio to work, but that is missing the point.
Firefox requires pulseaudio, and apulse fools it into thinking it is installed with libraries of the same names and LD_LIBRARY_PATH tricks. Firefox then calls code in those libraries, so it does indeed "run".Head_on_a_Stick wrote:I don't have PA installed and I don't have PA running; apulse isn't a program that runs, it's just an interface to ALSA so there is no extra overhead.
Head_on_a_Stick wrote:I'm guessing that you are one of those crazy "tentacle" people?
Users browsing this forum: No registered users and 8 guests