From owner-freebsd-gecko@freebsd.org Thu Jun 27 19:02:45 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 0A96015CA643 for ; Thu, 27 Jun 2019 19:02:45 +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 97E186BAD4 for ; Thu, 27 Jun 2019 19:02:44 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5B78E15CA642; Thu, 27 Jun 2019 19:02:44 +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 4A00A15CA641 for ; Thu, 27 Jun 2019 19:02:44 +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 E4B476BAD1; Thu, 27 Jun 2019 19:02:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id D61271C944; Thu, 27 Jun 2019 19:02:43 +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> <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> <4l4d-y0w8-wny@FreeBSD.org> <54873892-dc62-4c88-5ab1-1c2a3bd8b0f7@drewke.net> Date: Thu, 27 Jun 2019 21:02:37 +0200 In-Reply-To: <54873892-dc62-4c88-5ab1-1c2a3bd8b0f7@drewke.net> (Andreas Drewke's message of "Thu, 27 Jun 2019 17:50:01 +0200") Message-ID: <8stm-lulu-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: E4B476BAD1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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 19:02:45 -0000 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.