From owner-freebsd-ports@freebsd.org Sun Jan 29 09:53:20 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E06CCC64AF for ; Sun, 29 Jan 2017 09:53:20 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from mail.abinet.ru (mail.abinet.ru [136.243.72.227]) by mx1.freebsd.org (Postfix) with ESMTP id 52D9EFF6; Sun, 29 Jan 2017 09:53:19 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from [10.0.0.1] (unknown [10.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.abinet.ru (Postfix) with ESMTPSA id 09DBE356EB; Sun, 29 Jan 2017 09:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abinet.ru; s=dkim; t=1485683593; bh=JGBO8+4W0hXeImMEigRTCW3ZZkZYUeuCXpvCf6ROd8s=; h=Date:From:To:Subject:References:In-Reply-To; b=QH/7IWBCVrTgxceNILGGJYfefsaHCGbG+7Up8RCwNGNq5re/O9CD52ud5stcpobDs jVvaEmw91umb1Mr/14lezWQI7I331kgLqZzO9C/I3mOnKyuw+xDp7iD8eNQvIlXx71 LT4b0m+DORIyvDSEr/2vpCcWicO0vHAlaCjpbL4s= Message-ID: <588DBB86.5000606@abinet.ru> Date: Sun, 29 Jan 2017 12:53:10 +0300 From: abi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.9) Gecko/20161026 FossaMail/25.2.4 MIME-Version: 1.0 To: Jan Beich , freebsd-ports@freebsd.org, jmc-freebsd2@milibyte.co.uk Subject: Re: Firefox and sndio References: <20170129021012.E3F5B14DD@freefall.freebsd.org> In-Reply-To: <20170129021012.E3F5B14DD@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2017 09:53:20 -0000 On 29.01.2017 05:10, Jan Beich wrote: > Mike Clarke writes: > >> On Sat, 28 Jan 2017 14:58:51 +0000 >> Grzegorz Junka 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.