FireFox + Pulseaudio is always using sink 0 instead of default sink(9 in my case)

Andreas Drewke andreas at drewke.net
Thu Jun 27 23:46:17 UTC 2019


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 at drewke.net> writes:
>
>> On 2019-06-25 20:29, Jan Beich wrote:
>>
>>> Andreas Drewke <andreas at 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.


More information about the freebsd-gecko mailing list