Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 May 2016 11:59:02 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Oleg Nauman <oleg.nauman@gmail.com>, freebsd-multimedia@freebsd.org, gecko@freebsd.org
Subject:   Re: firefox-43 && no sound on MP3, MP4, HTML5
Message-ID:  <h9ei-f6ah-wny@vfemail.net>
In-Reply-To: <20160501093007.GA2811__1164.70847647197$1462095034$gmane$org@c720-r292778-amd64> (Matthias Apitz's message of "Sun, 1 May 2016 11:30:07 %2B0200")
References:  <60v1-ivm1-wny@vfemail.net> <20160428184312.GC3721__32639.8463490934$1461869020$gmane$org@c720-r292778-amd64> <fuu5-8n7i-wny@vfemail.net> <20160429055040.GD2022@c720-r292778-amd64> <CAC5YPTvuXwkdFUbcC7ur_60f==3U%2BuDFMJy_geAmQ_z1_EGd2Q@mail.gmail.com> <20160501081828.GA2078__49794.1147922122$1462090744$gmane$org@c720-r292778-amd64> <r3dm-gni9-wny@vfemail.net> <20160501093007.GA2811__1164.70847647197$1462095034$gmane$org@c720-r292778-amd64>

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 Sunday, May 01, 2016 a las 11:01:50AM +0200, Jan Beich escrib=
i=C3=B3:
>
>> Matthias Apitz <guru@unixarea.de> writes:
>>=20
>> > I: [(null)] sink-input.c: Created input 0 "AudioStream" on
>> > oss_output.dsp0 with sample spec float32le 2ch 48000Hz and channel map
>> > front-left,front-right
>> > I: [(null)] sink-input.c:     media.name =3D "AudioStream"
>> > I: [(null)] sink-input.c:     application.process.binary =3D "firefox"
>>=20
>> Firefox uses oss_output.dsp0 sink or /dev/dsp0 but without knowing the
>> value of hw.snd.default_unit it's not very useful. For details, run
>>=20
>>   $ pkg info -D pulseaudio
>
> Which says:
> ...
> o change the default sink (output):
> # pacmd set-default-sink 3
> To change the default source (input):
> # pacmd set-default-source 3
[...]
> I have tested there in the file 0 and 1, without much more sound. How
> can I get and understand the correct values to put into the file?

Can you show the output of the following command? According to sound(4) man
page the value determines which of /dev/dsp0, /dev/dsp1, ... /dev/dspN
audio samples are fed to by default.

  $ sysctl hw.snd.default_unit

pkg-message can actually be improved to suggest

  $ pacmd set-default-sink $(sysctl -n hw.snd.default_unit)
  $ pacmd set-default-source $(sysctl -n hw.snd.default_unit)

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJXJdNmXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bsDoIAMBa0mmvTM9eLoE3oFGPqrIf
yhrCRkvXyPc/XlJeV8dQx6+xS14G37t5D2XYGgyIPxLgz7FiO8s+NsyDUNpmnvKg
P/esKHDsMrmht7927Bi9+I/UNpy+RVE1gZqgyICsTaHhCmgGh8mg2PcCDo3+UDCh
tdUBse/gimIbbUC/JQyJkIE+WAUnk4WGJ9kmmtA/MY/dPaWfIVFFP4bg/qLhwyLy
kCwIWTNV2Z6VZ46vCqSN4e1cMd7i6/LKbzVRCUywX9tMJlDlhr2OuG9f0Pu3qrOO
XUWCPG+rSLGKR6/uKBz9A4K15+hTduq+ByY+xSiMrXauWZcvQAuXk4i4X7qu/C8=
=kmo5
-----END PGP SIGNATURE-----
--=-=-=--



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