pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Audio output from firefox
On Sun, 19 Mar 2017, scole_mail wrote:
I think there were some old threads in netbsd-users mentioning you need
to maybe install alsa-plugins-oss and/or alsa-plugins-pulse, and
configure an ~/.asoundrc file properly. I think alsa-lib and alsa-utils
might be useful to have as well. This seems too complicated for me.
Too complicated for me, too!
I tried to build firefox with oss using these options:
env PKG_DEFAULT_OPTIONS="-alsa dbus oss -pulseaudio"
Sound would work, but only on that one tab. If I closed that first tab,
or tried to play sound on a new tab, it stopped working.
So I tried firefox with pulseaudio:
env PKG_DEFAULT_OPTIONS="-alsa dbus pulseaudio"
This allowed sound in multiple tabs and can play concurrent sounds with
other programs, like mplayer.
So, essentially, remove 'alsa' - hmmm.
I still get occasional errors like:
W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
but readjusting the volume seems to fix it.
I saw sound was being working on in current, so I'm not sure if the same
problems exist, but for the least fussy setup, pulseaudio seemed best to
me.
If alsa is the firefox default sound option now, maybe the package
should display some of message with example setup on how to configure it
properly upon installation if it can't be done automagically.
Yeah, automagically would be preferable for me! :)
Since it is built with both alsa and pulseaudio, is there a way to
invoke firefox with some command-line option to select which one to use?
+------------------+--------------------------+------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+
Home |
Main Index |
Thread Index |
Old Index