From owner-freebsd-gecko@freebsd.org Sat Jun 22 22:50:42 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 311D115BBFA6 for ; Sat, 22 Jun 2019 22:50:42 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C5CD568511 for ; Sat, 22 Jun 2019 22:50:41 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8920815BBFA5; Sat, 22 Jun 2019 22:50:41 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 765F415BBFA4 for ; Sat, 22 Jun 2019 22:50:41 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 16A7B68510; Sat, 22 Jun 2019 22:50:41 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id D9994C340; Sat, 22 Jun 2019 22:50:40 +0000 (UTC) From: Jan Beich To: Andreas Drewke Cc: gecko@FreeBSD.org Subject: Re: FireFox + Pulseaudio is always using sink 0 instead of default sink(9 in my case) References: <9c69393f-a3b1-09d8-1c14-5f9a0ff1ca46@drewke.net> Date: Sun, 23 Jun 2019 00:50:37 +0200 In-Reply-To: <9c69393f-a3b1-09d8-1c14-5f9a0ff1ca46@drewke.net> (Andreas Drewke's message of "Sat, 22 Jun 2019 21:59:06 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 16A7B68510 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2019 22:50:42 -0000 Andreas Drewke writes: > Hi, > > since a few FF updates(do not remember correctly) FireFox with > PulseAudio always uses sink 0 instead of my default sink 9. > I am not sure if this is FreeBSD port related or a bug in FF code base. > > If you have any questions please ask. > > FYI: I can change sink to 9 with "pacmd move-sink-input X 9". This way > FF playes sound for a while with PA. However I do not know how to make > this persistant. > This could also be a bug in PA. I do not know. Have you tried "pacmd set-default-sink 9" ? Alternatively, remove ~/.config/pulse and let PA pick up default from hw.snd.default_unit. Firefox can also set PA sink via media.cubeb.output_device in about:config based on Name from Output Devices in about:support (Media section) but for some reason it doesn't work here. https://searchfox.org/mozilla-release/rev/be9f154873f1/dom/media/GraphDriver.cpp#577-590