From owner-freebsd-gecko@freebsd.org Tue Jun 25 18:08:11 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 DEA8415D2D1E for ; Tue, 25 Jun 2019 18:08:10 +0000 (UTC) (envelope-from andreas@drewke.net) 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 5BE066EA19 for ; Tue, 25 Jun 2019 18:08:10 +0000 (UTC) (envelope-from andreas@drewke.net) Received: by mailman.ysv.freebsd.org (Postfix) id 1F7DB15D2D1D; Tue, 25 Jun 2019 18:08:10 +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 EE53915D2D1C for ; Tue, 25 Jun 2019 18:08:09 +0000 (UTC) (envelope-from andreas@drewke.net) Received: from mailrelay3-3.pub.mailoutpod1-cph3.one.com (mailrelay3-3.pub.mailoutpod1-cph3.one.com [46.30.212.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 505476EA17 for ; Tue, 25 Jun 2019 18:08:07 +0000 (UTC) (envelope-from andreas@drewke.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drewke.net; s=20140924; h=content-type:in-reply-to:mime-version:date:message-id:from:references:cc:to: subject:from; bh=zDExTdsHN2pPz9WTty+aX/yiAtlg+H5gx1xduyLL740=; b=SPz7GKu0ibuc3gtHkVpZohxjqYg0S4V8P1jgRK9jwjQ/fuC9WqqAtQ+sxwtFQq0QBE6GcE/oPK/ep P5TKV4tc5ND4Ha+yS7nLMJOkeFCQH0a4Q31Xt8dvdZP/FWt4JJG2czFWOADYeNdl+njtRUqnCpsLxk QhDfcIwtLjHPImOQ= X-HalOne-Cookie: e5e743b5f3091800cee19a88b5499cd678389c1e X-HalOne-ID: ebb7ffe4-9771-11e9-b5e9-d0431ea8bb03 Received: from [IPv6:2001:16b8:483d:2d00:7285:c2ff:fe43:64aa] (unknown [2001:16b8:483d:2d00:7285:c2ff:fe43:64aa]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id ebb7ffe4-9771-11e9-b5e9-d0431ea8bb03; Tue, 25 Jun 2019 17:51:55 +0000 (UTC) Subject: Re: FireFox + Pulseaudio is always using sink 0 instead of default sink(9 in my case) To: Jan Beich Cc: gecko@FreeBSD.org References: <9c69393f-a3b1-09d8-1c14-5f9a0ff1ca46@drewke.net> From: Andreas Drewke Message-ID: <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> Date: Tue, 25 Jun 2019 17:51:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Rspamd-Queue-Id: 505476EA17 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=drewke.net header.s=20140924 header.b=SPz7GKu0 X-Spamd-Result: default: False [-3.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[drewke.net:s=20140924]; NEURAL_HAM_MEDIUM(-0.97)[-0.971,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[drewke.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[drewke.net:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[12.212.30.46.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[mx1.pub.mailpod3-cph3.one.com,mx2.pub.mailpod3-cph3.one.com,mx3.pub.mailpod3-cph3.one.com]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.75)[-0.754,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; IP_SCORE(-0.11)[ipnet: 46.30.208.0/21(-0.30), asn: 51468(-0.23), country: DK(-0.02)]; ASN(0.00)[asn:51468, ipnet:46.30.208.0/21, country:DK]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Tue, 25 Jun 2019 18:08:11 -0000 Hi, many thanx for answering. >Have you tried "pacmd set-default-sink 9" ? Alternatively, remove >~/.config/pulse and let PA pick up default from hw.snd.default_unit. Yes. Both. Also be aware that >about:support Shows 9 as default device. This is strange. Indeed setting >media.cubeb.output_device does not work too. I have now no idea how to fix this. However if FBSD 13 comes out I do a fresh install. But maybe you still have an idea. Many thanx and Best regards Andreas On 2019-06-23 00:50, Jan Beich wrote: > 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