firefox-43 && no sound on MP3, MP4, HTML5

Jan Beich jbeich at vfemail.net
Thu Apr 28 15:47:42 UTC 2016


Matthias Apitz <guru at unixarea.de> writes:

> El día Thursday, April 28, 2016 a las 10:28:59AM +0200, Matthias Apitz escribió:
>
>> El día Thursday, April 28, 2016 a las 11:23:04AM +0300, vit shatsillo escribió:
>> 
>> > Hello
>> > 
>> > how you install ff - from pkg or build from ports?
>> > in package ff use pulseaudio - and some people has troubles under bsd and
>> > linux too.
>> > 
>> > i uncheck pulseaudio in options and reinstall ff from ports - all ok
>> 
>> Hello,
>> 
>> Thanks for the reply. I'm building all ports with poudriere. I checked
>> now:
>> 
>> $ pkg info firefox | fgrep -i pulse
>> 	PULSEAUDIO     : on
>> 
>> and will recompile FF over the weekend. Will report back.
>
> I recompiled FF and now it works. If this is a known issue, maybe it
> should be switched-off in the Makefile of the port. It would have saved
> me 2 hours of tests yesterday evening before writing to
> freebsd-multimedia@

Firefox detects PulseAudio during runtime. Either deinstall it or make
sure it actually works i.e., check with paplay(1) and force sink/source[1].
firefox package built by pkg.freebsd.org doesn't pull pulseaudio.

If audio/pulseaudio doesn't work *by default* file a bug for the
maintainer (gnome@) to notice and maybe CC consumers (e.g. gecko@).

[1] Apply to avoid /dev/sndstat device enumeration and use the same
    sink/source as sysctl hw.snd.default_unit.

--- /usr/local/etc/pulse/default.pa~
+++ /usr/local/etc/pulse/default.pa
@@ -43,17 +43,11 @@ load-module module-switch-on-port-availa
 ### Load audio drivers statically
 ### (it's probably better to not load these drivers manually, but instead
 ### use module-udev-detect -- see below -- for doing this automatically)
-#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
+load-module module-oss device="/dev/dsp" sink_name=output source_name=input
 #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
 #load-module module-null-sink
 #load-module module-pipe-sink
 
-### Automatically load driver modules depending on the hardware available
-.ifexists module-detect.so
-### Use the static hardware detection module (for systems that lack udev support)
-load-module module-detect
-.endif
-
 ### Automatically connect sink and source if JACK server is present
 .ifexists module-jackdbus-detect.so
 .nofail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20160428/96e2a4eb/attachment.sig>


More information about the freebsd-multimedia mailing list