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
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Matthias Apitz <guru@unixarea.de> writes:

> El d=C3=ADa Thursday, April 28, 2016 a las 10:28:59AM +0200, Matthias Api=
tz escribi=C3=B3:
>
>> El d=C3=ADa Thursday, April 28, 2016 a las 11:23:04AM +0300, vit shatsil=
lo escribi=C3=B3:
>>=20
>> > Hello
>> >=20
>> > 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.
>> >=20
>> > i uncheck pulseaudio in options and reinstall ff from ports - all ok
>>=20
>> Hello,
>>=20
>> Thanks for the reply. I'm building all ports with poudriere. I checked
>> now:
>>=20
>> $ pkg info firefox | fgrep -i pulse
>> 	PULSEAUDIO     : on
>>=20
>> 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.

=2D-- /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)
=2D#load-module module-oss device=3D"/dev/dsp" sink_name=3Doutput source_na=
me=3Dinput
+load-module module-oss device=3D"/dev/dsp" sink_name=3Doutput source_name=
=3Dinput
 #load-module module-oss-mmap device=3D"/dev/dsp" sink_name=3Doutput source=
_name=3Dinput
 #load-module module-null-sink
 #load-module module-pipe-sink
=20
=2D### Automatically load driver modules depending on the hardware available
=2D.ifexists module-detect.so
=2D### Use the static hardware detection module (for systems that lack udev=
 support)
=2Dload-module module-detect
=2D.endif
=2D
 ### Automatically connect sink and source if JACK server is present
 .ifexists module-jackdbus-detect.so
 .nofail

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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