Open PSeitz opened 5 months ago
@PSeitz, sorry for the late response and thank you for the useful input. In the PipeWire version of the script I rely on wpctl output as the primary way to get information about audio devices. Not sure whether pactl is or always will be available in the future of Linux audio.
As I see there's source 79 for the same device and that one indeed might be a microphone. However, in your example "56. Family 17h/19h HD Audio Controller Analog Stereo [vol: 0.70]" belongs to sinks category in other words it should be an output device. If 56 is selected as the source for recording, it should record output at least if there are no bugs in pw-record, or other components of PipeWire stack.
I'm using pipewire with manjaro.
The script selects
56. Family 17h/19h HD Audio Controller Analog Stereo [vol: 0.70]
fromwpctl
, which is sometimes the microphone. The monitor source is missing from wpctl, but is listed inpactl
(1512).Changing the script line to this fixes it in my case:
pactl & wpctl Output