Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2019 01:46:11 +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:  <b2a9da6a-1f7e-5c56-3949-cbb4601ea639@drewke.net>
In-Reply-To: <8stm-lulu-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> <54873892-dc62-4c88-5ab1-1c2a3bd8b0f7@drewke.net> <8stm-lulu-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <andreas@drewke.net> writes:
>
>> 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
>> <
>> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b2a9da6a-1f7e-5c56-3949-cbb4601ea639>