On my debian system firefox uses the pulseaudio-sink "alsa_output.pci-0000_01_05.1.hdmi-stereo".
This is what I would like to record.
So I simply tried to record the monitor-sink like this:
Code: Select all
parec --format=s16le -d alsa_output.pci-0000_01_05.1.hdmi-stereo.monitor > out.raw
And that works. However there seems to be a problem: The volume of the recording is pretty low.
However when I create a null-sink ("pactl load-module module-null-sink sink_name=whatever"), direct the firefox output to this null-sink and record that I get a recording with proper volume level.
Why do these volume-levels differ?
Why is does recording from a "regular" sink result in lower volume as opposed to recording a null-sink?
So can someone explain to me what is happening here and what the preferred way to record a pulseaudio-sink is?