Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2016 17:47:02 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        vit shatsillo <vit.shatsillo@gmail.com>, freebsd-multimedia@freebsd.org, gecko@FreeBSD.org
Subject:   Re: firefox-43 && no sound on MP3, MP4, HTML5
Message-ID:  <60v1-ivm1-wny@vfemail.net>
In-Reply-To: <20160428143859.GA2180@c720-r292778-amd64.oa.oclc.org> (Matthias Apitz's message of "Thu, 28 Apr 2016 16:38:59 %2B0200")
References:  <20160428054757.GA2295@c720-r292778-amd64> <CAE01=%2BfqD2fKZ4YV=zm83%2BDvHMhXyLk4_%2B1UfXs7%2Bh2PoWP69g@mail.gmail.com> <20160428082859.GA3281@c720-r292778-amd64> <20160428143859.GA2180@c720-r292778-amd64.oa.oclc.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Matthias Apitz <guru@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJXIjB2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bb4IIAMdVzXaO1bCAAwlMXChFu1HY
ytTknTDV5DcpSZxojVJU58vwpd4cRskwwAWikONvmvkNmMU/vkjhBJlOkNr69v2o
5uFj47ovkrkqBKISxxv1sG6C0VKJlOfITlktw/MbOi+KzwkfH6kJzIW8SbqefwYS
7XnHBQwScZ8/9qCChscMBxmA8RNODARwD40Lz2wUPvt8drx6MZrJJK5NN2G5vS+Q
heQPC7hFLGntiUYCxx8u644asH3/CJnn4kmU12TJLw6YAE7pWT4t7XuvkHtixyZi
0KDWrl5Qt2gd850XwaitK8cpProu2tvicMbEa9U4mahJYt+4Neus5YexFSg+RZc=
=ezJd
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60v1-ivm1-wny>