Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2019 17:50:01 +0200
From:      Andreas Drewke <andreas@drewke.net>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        gecko@FreeBSD.org
Subject:   Re: FireFox + Pulseaudio is always using sink 0 instead of default sink(9 in my case)
Message-ID:  <54873892-dc62-4c88-5ab1-1c2a3bd8b0f7@drewke.net>
In-Reply-To: <4l4d-y0w8-wny@FreeBSD.org>
References:  <9c69393f-a3b1-09d8-1c14-5f9a0ff1ca46@drewke.net> <d0j5-jkua-wny@FreeBSD.org> <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> <4l4d-y0w8-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

$ 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

Many thanx and

Best regards
Andreas

On 2019-06-25 20:29, Jan Beich wrote:

> Andreas Drewke <andreas@drewke.net> 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
> $ firefox ChID-BLITS-EBU-Narration.mp4



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54873892-dc62-4c88-5ab1-1c2a3bd8b0f7>