pactl list sources
shows that there is a source which has multiple ports:
Ports:
analog-input-front-mic: Front Microphone (priority: 8500, not available)
analog-input-rear-mic: Rear Microphone (priority: 8200, available)
analog-input-linein: Line In (priority: 8100, available)
I would like to split these ports into separate sources so that I can loopback and mix them together for output in a single sink using the command:
pactl load-module module-loopback source=whatever sink=whatever
The module-remap-source
does not appear to be able to do what I seek, unless I'm missing something.
Without separate sources I'm stuck with manually switching the ports using the pavucontrol
interface which only allows one port at a time to be active for a given source.
Running Debian Stretch with LXDE.
The same setup can be achieved easily in both Windows 7 and Debian Jessie with XFCE4, where the xfce4-mixer
GUI shows separate audio sliders for each input and all I had to do was turning up the line-in and rear-mic sliders to hear both of them mixed on the default output (in that case, my headphones).
This is the result of cat /proc/asound/pcm
:
00-00: ALC887-VD Analog : ALC887-VD Analog : playback 1 : capture 1
00-02: ALC887-VD Alt Analog : ALC887-VD Alt Analog : capture 1
01-03: HDMI 0 : HDMI 0 : playback 1
01-07: HDMI 1 : HDMI 1 : playback 1
01-08: HDMI 2 : HDMI 2 : playback 1
02-00: USB Audio : USB Audio : playback 1 : capture 1
This is the result of cat /proc/asound/card*/codec\#*
:
UPDATE:
I have since dodged this problem by purging pulseaudio
and pavucontrol
entirely and using qasmixer
(with Loopback Mixing
and Show device selection
enabled) directly on top of Alsa. This allows the same if not a greater degree of versatility than the now obsoleted xfce4-mixer
. Other Alsa mixers which i don't like as much but are still worthy of a try are volti
and alsamixergui
.
Even if this solved my problem, it's however not a full answer to this question in particular, which is also about the possibility to split Pulseaudio ports into indipendent sources and how.
arecord -L
can give hints for this. In any case, edit your question withlspci -nn
orlsusb
identification of your soundcards. If it's a HDA soundcard, put output ofcat /proc/asound/card*/codec\#*
into a pastebin and edit question with link. Even if it's possible with your hardware, the ALSA configuration will be a challenge, if it can be done at all.cat /proc/asound/pcm
.cat /proc/asound/pcm
. If that doesn't show three "Analog" capture sources (the second labelled "Alt Analog", I've never seen a third), edit question with output ofcat /proc/asound/card*/codec\#*
(or put it in a pastebin and give link). Please explain in detail in your question how you set it up on Jessie.