From owner-freebsd-gecko@freebsd.org Thu Jun 27 23:46:17 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 1F84B15D1EC1 for ; Thu, 27 Jun 2019 23:46:17 +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 51A7277415 for ; Thu, 27 Jun 2019 23:46:16 +0000 (UTC) (envelope-from andreas@drewke.net) Received: by mailman.ysv.freebsd.org (Postfix) id 1544515D1EBD; Thu, 27 Jun 2019 23:46:16 +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 CCBAC15D1EBA for ; Thu, 27 Jun 2019 23:46:15 +0000 (UTC) (envelope-from andreas@drewke.net) Received: from mailrelay4-3.pub.mailoutpod1-cph3.one.com (mailrelay4-3.pub.mailoutpod1-cph3.one.com [46.30.212.13]) (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 43EEF77414 for ; Thu, 27 Jun 2019 23:46:14 +0000 (UTC) (envelope-from andreas@drewke.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drewke.net; s=20140924; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:cc:to:subject:from; bh=VXeQzP9EOy8qPVZBBziN28Pz9l+PSVwU/zH3EqBnIic=; b=BfLSE+7d6XSSv1BdH4JdK/G+9k1nitb7guGGDH/IqqUahNYPhYgu3RrH4JWhh7A+obcDzVVBsuCGi VbTUsi0ho8Z0laq/0InZ66T91IcnnTRDcmszPMHilg4SPaQMUzA36IlNw33gm/imjBrFvBssyrw8jh XOSEXkrW5liAOF9w= X-HalOne-Cookie: aed06c6eb2a1fa5ea26505519512adad133780cb X-HalOne-ID: bdfd19dd-9935-11e9-827c-d0431ea8bb10 Received: from Andreass-MBP.fritz.box (unknown [2001:16b8:48ae:1300:b589:7525:16e9:80eb]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id bdfd19dd-9935-11e9-827c-d0431ea8bb10; Thu, 27 Jun 2019 23:46:11 +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> <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> <4l4d-y0w8-wny@FreeBSD.org> <54873892-dc62-4c88-5ab1-1c2a3bd8b0f7@drewke.net> <8stm-lulu-wny@FreeBSD.org> From: Andreas Drewke Message-ID: Date: Fri, 28 Jun 2019 01:46:11 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <8stm-lulu-wny@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 43EEF77414 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.952,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: Thu, 27 Jun 2019 23:46:17 -0000 Hi, this was working 100% before with FF. It creates a pseudo sink that can be used to play. This can be recorded as well. It is my default sink 9. I use a tool to record video and sound of my desktop. I am a software/game developer and need to be able to do that from time to time. Hmm. Best regards Andreas Am 27.06.19 um 21:02 schrieb Jan Beich: > Andreas Drewke writes: > >> On 2019-06-25 20:29, Jan Beich wrote: >> >>> Andreas Drewke writes: >>> >>>>> 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 >>> Does paplay(1) use the correct sink? Maybe default sink doesn't persist >>> after pulseaudio daemon exits. >>> >>> $ fetch https://www2.iis.fraunhofer.de/AAC/ChID-BLITS-EBU-Narration.mp4 >>> $ pkill pulseaudio >>> $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay >> < >> This indeed uses sink 0 in your test. If I do >> >> $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay -d 9 >> >> i hear the sound. >> >> Any hints how to fix this? >> >> My default.pa looks like: >> >> $ cat .config/pulse/default.pa >> .include /usr/local/etc/pulse/default.pa >> >> load-module module-combine-sink sink_name=record-n-play slaves=oss_output.dsp6 sink_properties=device.description="Record-and-Play" >> >> set-default-sink record-n-play > Why do you have this file? It sets default sink to 6 via an alias.