Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 12:53:10 +0300
From:      abi <abi@abinet.ru>
To:        Jan Beich <jbeich@freebsd.org>, freebsd-ports@freebsd.org,  jmc-freebsd2@milibyte.co.uk
Subject:   Re: Firefox and sndio
Message-ID:  <588DBB86.5000606@abinet.ru>
In-Reply-To: <20170129021012.E3F5B14DD@freefall.freebsd.org>
References:  <20170129021012.E3F5B14DD@freefall.freebsd.org>

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


On 29.01.2017 05:10, Jan Beich wrote:
> Mike Clarke <jmc-freebsd2@milibyte.co.uk> writes:
>
>> On Sat, 28 Jan 2017 14:58:51 +0000
>> Grzegorz Junka <list1@gjunka.com> wrote:
>>
>>> On 28/01/2017 11:37, Tobias Kortkamp wrote:
>>>> On Sat, Jan 28, 2017, at 11:23, Grzegorz Junka wrote:
>>>>> Audio in Firefox seems to be working fine when ALSA is enabled. But when
>>>>> ALSA is disabled and only SNDIO is enabled there is no sound. In either
>>>>> case I had PULSEAUDIO disabled. What's the expected configuration for
>>>>> this to work?
>>>> Is sndiod running?  If not:
>>>>
>>>>       sysrc sndiod_enable=YES
>>>>       service sndiod start
>>>>
>>>
>>> Thanks Tobias. That helped. Out of interest. Is there any reason why I
>>> should prefer either SNDIO, PUlSEAUDIO or ALSA?
>>
>> This currently creates a problem for those of us using Firefox from
>> packages because the default build has SNDIO turned off.
>>
>> $ pkg info firefox
> [...]
>>          ALSA           : on
> [...]
>>          PULSEAUDIO     : on
> [...]
>>          SNDIO          : off
>
> Only backends that support lazy bindings are enabled by default i.e.,
> try PULSEAUDIO, if N/A fallback to ALSA, if N/A fallback to native OSS.
> SNDIO has lower priority than ALSA in libcubeb but higher in WebRTC and
> cannot fallback to native OSS as well. SNDIO currently doesn't work
> inside jail and neither sndiod nor Firefox support Capsicum sandboxing,
> so falling back to ALSA (or OSS) is important.

Why OSS is not added to port options? OSS is that, probably, all of us have.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?588DBB86.5000606>