Howto mix line pulseaudio

From Vidalinux Wiki
Revision as of 23:31, 29 May 2024 by Mandulete1 (talk | contribs) (Created page with "= pulseaudio = list audio sources: pactl list sources short output: 51 alsa_output.pci-0000_04_00.0.hdmi-stereo.monitor PipeWire s32le 2ch 48000Hz RUNNING 144 alsa_input.usb-R__DE_Wireless_GO_II_RX_215C1214-01.analog-stereo PipeWire s24le 2ch 48000Hz RUNNING 224 alsa_input.usb-ezcap_ezcap_LIVE_GAMER_RAW_00000001-02.iec958-stereo PipeWire s16le 2ch 48000Hz RUNNING we want to sink audio from hdmi-stereo.monitor and ezcap: pactl load-module module-n...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

pulseaudio

list audio sources:

pactl list sources short

output:

51	    alsa_output.pci-0000_04_00.0.hdmi-stereo.monitor	                PipeWire	s32le 2ch 48000Hz	RUNNING
144	alsa_input.usb-R__DE_Wireless_GO_II_RX_215C1214-01.analog-stereo	PipeWire	s24le 2ch 48000Hz	RUNNING
224	alsa_input.usb-ezcap_ezcap_LIVE_GAMER_RAW_00000001-02.iec958-stereo	PipeWire	s16le 2ch 48000Hz	RUNNING

we want to sink audio from hdmi-stereo.monitor and ezcap:

pactl load-module module-null-sink sink_name=both sink_properties=device.description=ezcap-and-speakers
pactl load-module module-loopback source=alsa_output.pci-0000_04_00.0.hdmi-stereo.monitor sink=both
pactl load-module module-loopback source=alsa_input.usb-ezcap_ezcap_LIVE_GAMER_RAW_00000001-02.iec958-stereo sink=both
pactl load-module module-loopback sink=both

list sink inputs:

pactl list sink-inputs short

output:

72	 65	  -	PipeWire	float32le 2ch 48000Hz
86	 65	  -	PipeWire	float32le 2ch 48000Hz
100 213  -	PipeWire	float32le 2ch 48000Hz