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

Matthias Apitz guru at unixarea.de
Thu Apr 28 18:43:21 UTC 2016


El día Thursday, April 28, 2016 a las 05:47:02PM +0200, Jan Beich escribió:

> >> 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.

if I do:

# cd /usr/ports/www/firefox
# make config

for what is the option PULSEAUDIO on/off exactly and why it is set to
'on' as default(?); note: I compile with poudriere and one has limit or
no influence over the question if some port is working on the target host later;

> Either deinstall it or make
> sure it actually works i.e., check with paplay(1) and force sink/source[1].

this gives on my netbook:

$ LANG=C paplay Track01.mp3
Failed to open audio file.

I even used truss but can not detect why it is unable to open the audio
file (which one?);

> firefox package built by pkg.freebsd.org doesn't pull pulseaudio.

What does this mean 'pull pulseaudio'? How the PULSEAUDIO option is set
in this official pkg?

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

Should I file a bug due to the above error, or do I something wrong?
I have applied the change in /usr/local/etc/pulse/default.pa

	matthias

> 
> [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



-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.


More information about the freebsd-multimedia mailing list