You are not logged in.

#1 2020-06-04 16:26:18

meanbunny
Member
Registered: 2015-11-13
Posts: 14

PulseAudio / ALSA complex audio routing issue

Hi All

Unique situation here. I am running Arch Linux as my main work machine and I have a Windows workstation that I constantly have to flip back and forth for testing on. I want to use 1 wireless headset between both machines. I've done the following.


Wired 2 lines from the back of Linux machine to correct ports of Windows machine for Audio Output (i.e. Sound from Windows machine into Linux machine) and Audio Input (i.e. Microphone output from Linux machine to Windows machine)

load-module module-loopback sink=alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo
load-module module-loopback sink=alsa_output.pci-0000_09_00.3.iec958-stereo source=alsa_input.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.multichannel-input
set-default-sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo
set-default-source alsa_input.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.multichannel-input
set-source-volume alsa_input.pci-0000_09_00.3.analog-stereo 5000

pulseaudio configuration

pavucontrol


Above configuration works, I can hear Windows machine audio just fine through my headset alongside my Linux machine audio. My issue is Microphone output to Windows machine just sounds like complete static input. People can barely hear me and routing does not seem to be taking affect ALL the time. I am using the reverse routing with the BOTTOM load-module command where I am taking the microphone input line to the Windows machine and piping my headset data to it.

Any pointers in ALSA configurations that could help remedy this solution? There are a lot of options with ALSA and I am concerned that I am missing something really easy.

Last edited by meanbunny (2020-07-13 18:05:09)

Offline

#2 2020-07-13 17:42:57

meanbunny
Member
Registered: 2015-11-13
Posts: 14

Re: PulseAudio / ALSA complex audio routing issue

I'd love to get some help on this if there are any PulseAudio people available.

Offline

#3 2020-07-13 22:41:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,423

Re: PulseAudio / ALSA complex audio routing issue

Is micboost enabled?  in general tone down the input volume 100% on a mic is almost always too loud. What are your outputs for

arecord -lL
amixer -c0 #Post this for the input/microphone card, check the correct index with arecord if it isn't 0

Online

#4 2020-07-14 13:21:42

meanbunny
Member
Registered: 2015-11-13
Posts: 14

Re: PulseAudio / ALSA complex audio routing issue

arecord output

null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
sysdefault:CARD=Generic
    HD-Audio Generic, ALC887-VD Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Front output / input
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
sysdefault:CARD=USB
    HD Webcam USB, USB Audio
    Default Audio Device
front:CARD=USB,DEV=0
    HD Webcam USB, USB Audio
    Front output / input
usbstream:CARD=USB
    HD Webcam USB
    USB Stream Output
sysdefault:CARD=Gam
    CORSAIR VOID ELITE Wireless Gam, USB Audio
    Default Audio Device
front:CARD=Gam,DEV=0
    CORSAIR VOID ELITE Wireless Gam, USB Audio
    Front output / input
usbstream:CARD=Gam
    CORSAIR VOID ELITE Wireless Gam
    USB Stream Output
**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC887-VD Alt Analog [ALC887-VD Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: USB [HD Webcam USB], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: Gam [CORSAIR VOID ELITE Wireless Gam], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

I think this is what we need since this is the output to the other machine.
amixer -c1

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 44 [69%] [-20.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [30.00dB] [on]
  Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Line'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

https://i.imgur.com/IWbv5BX.png

Mod edit: Removed oversized image -- V1del

Last edited by V1del (2020-07-14 13:54:08)

Offline

#5 2020-07-14 13:57:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,423

Re: PulseAudio / ALSA complex audio routing issue

Please try to keep directly embedded images on the smaller side: https://wiki.archlinux.org/index.php/Co … s_and_code

I'm thinking that the USB input from your microphone is already too loud (maybe test that locally, without the windows machine passthrough) so amixer -c3 would be more interesting. Also there's nothing in alsamixer that wouldn't already be present in textual form in amixer so that's always preferable if you want to show people which hardware controls you have available.

Maybe for a more general overview, post

pacmd list-sinks
pacmd list-sink-inputs
pacmd list-sources
pacmd list-source-outputs

as well.

Last edited by V1del (2020-07-14 13:59:02)

Online

#6 2020-07-14 14:16:09

meanbunny
Member
Registered: 2015-11-13
Posts: 14

Re: PulseAudio / ALSA complex audio routing issue

Gotcha, I'll do that moving forward. Please see below.

amixer -c3

Simple mixer control 'PCM',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 44 [69%] [-20.00dB] [on]
Simple mixer control 'Headset',0
  Capabilities: cvolume cvolume-joined cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 64
  Mono: Capture 64 [100%] [0.00dB] [on]

list-sinks

2 sink(s) available.
  * index: 0
	name: <alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9048
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 21.14 ms
	max request: 2 KiB
	max rewind: 2 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 2
	linked by: 5
	configured latency: 16.00 ms; range is 16.00 .. 2000.00 ms
	card: 0 <alsa_card.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "3"
		alsa.card_name = "CORSAIR VOID ELITE Wireless Gam"
		alsa.long_card_name = "Corsair CORSAIR VOID ELITE Wireless Gam at usb-0000:02:00.0-10.1, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:02:00.0-usb-0:10.1:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-10/1-10.1/1-10.1:1.0/sound/card3"
		udev.id = "usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00"
		device.bus = "usb"
		device.vendor.id = "1b1c"
		device.vendor.name = "Corsair"
		device.product.id = "0a55"
		device.product.name = "CORSAIR VOID ELITE Wireless Gaming Dongle"
		device.serial = "Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle"
		device.string = "iec958:3"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "CORSAIR VOID ELITE Wireless Gaming Dongle Digital Stereo (IEC958)"
		alsa.mixer_name = "USB Mixer"
		alsa.components = "USB1b1c:0a55"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <iec958-stereo-output>
    index: 1
	name: <alsa_output.pci-0000_09_00.3.iec958-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9038
	volume: front-left: 65530 / 100% / -0.00 dB,   front-right: 65530 / 100% / -0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 105.85 ms
	max request: 17 KiB
	max rewind: 17 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 3
	fixed latency: 100.14 ms
	card: 3 <alsa_card.pci-0000_09_00.3>
	module: 9
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC887-VD Digital"
		alsa.id = "ALC887-VD Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xf6700000 irq 102"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:09:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1457"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.string = "iec958:1"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Digital Stereo (IEC958)"
		alsa.mixer_name = "Realtek ALC887-VD"
		alsa.components = "HDA:10ec0887,10438760,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 5000 usec, available: unknown)
			properties:
				
	active port: <iec958-stereo-output>

list-sink-inputs

3 sink input(s) available.
    index: 0
	driver: <module-loopback.c>
	flags: VARIABLE_RATE START_CORKED 
	state: RUNNING
	sink: 0 <alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo>
	volume: front-left: 65524 / 100% / -0.00 dB,   front-right: 65524 / 100% / -0.00 dB
	        balance 0.00
	muted: no
	current latency: 170.02 ms
	requested latency: 49.93 ms
	sample spec: s16le 2ch 44106Hz
	channel map: front-left,front-right
	             Stereo
	resample method: speex-float-1
	module: 25
	properties:
		media.role = "abstract"
		module-stream-restore.id = "sink-input-by-media-role:abstract"
		media.name = "Loopback from Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
    index: 1
	driver: <module-loopback.c>
	flags: VARIABLE_RATE START_CORKED 
	state: RUNNING
	sink: 1 <alsa_output.pci-0000_09_00.3.iec958-stereo>
	volume: mono: 65524 / 100% / -0.00 dB
	        balance 0.00
	muted: no
	current latency: 89.81 ms
	requested latency: 100.14 ms
	sample spec: s16le 1ch 44093Hz
	channel map: mono
	             Mono
	resample method: speex-float-1
	module: 26
	properties:
		media.role = "abstract"
		module-stream-restore.id = "sink-input-by-media-role:abstract"
		media.name = "Loopback from CORSAIR VOID ELITE Wireless Gaming Dongle Multichannel"
		media.icon_name = "audio-card-usb"
    index: 13
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	sink: 0 <alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 27.48 ms
	requested latency: 16.00 ms
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: (null)
	module: 12
	client: 2 <ZOOM VoiceEngine>
	properties:
		media.name = "playStream"
		application.name = "ZOOM VoiceEngine"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "33080"
		application.process.user = "meanbunny"
		application.process.host = "mmdesk"
		application.process.binary = "zoom"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "f0d26f1b50d442d9890206b04c77e81a"
		application.process.session_id = "1"
		module-stream-restore.id = "sink-input-by-application-name:ZOOM VoiceEngine"

list-sources

4 source(s) available.
    index: 0
	name: <alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 1040
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 2 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 3
	linked by: 3
	configured latency: 40.00 ms; range is 16.00 .. 2000.00 ms
	monitor_of: 0
	card: 0 <alsa_card.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00>
	module: 6
	properties:
		device.description = "Monitor of CORSAIR VOID ELITE Wireless Gaming Dongle Digital Stereo (IEC958)"
		device.class = "monitor"
		alsa.card = "3"
		alsa.card_name = "CORSAIR VOID ELITE Wireless Gam"
		alsa.long_card_name = "Corsair CORSAIR VOID ELITE Wireless Gam at usb-0000:02:00.0-10.1, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:02:00.0-usb-0:10.1:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-10/1-10.1/1-10.1:1.0/sound/card3"
		udev.id = "usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00"
		device.bus = "usb"
		device.vendor.id = "1b1c"
		device.vendor.name = "Corsair"
		device.product.id = "0a55"
		device.product.name = "CORSAIR VOID ELITE Wireless Gaming Dongle"
		device.serial = "Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle"
		device.string = "3"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
  * index: 1
	name: <alsa_input.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.multichannel-input>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9040
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.81 ms
	max rewind: 0 KiB
	sample spec: s16le 1ch 44100Hz
	channel map: mono
	             Mono
	used by: 3
	linked by: 3
	configured latency: 10.00 ms; range is 1.00 .. 2000.00 ms
	card: 0 <alsa_card.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "3"
		alsa.card_name = "CORSAIR VOID ELITE Wireless Gam"
		alsa.long_card_name = "Corsair CORSAIR VOID ELITE Wireless Gam at usb-0000:02:00.0-10.1, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:02:00.0-usb-0:10.1:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-10/1-10.1/1-10.1:1.0/sound/card3"
		udev.id = "usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00"
		device.bus = "usb"
		device.vendor.id = "1b1c"
		device.vendor.name = "Corsair"
		device.product.id = "0a55"
		device.product.name = "CORSAIR VOID ELITE Wireless Gaming Dongle"
		device.serial = "Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle"
		device.string = "hw:3"
		device.buffering.buffer_size = "176400"
		device.buffering.fragment_size = "88200"
		device.access_mode = "mmap+timer"
		device.profile.name = "multichannel-input"
		device.profile.description = "Multichannel"
		device.description = "CORSAIR VOID ELITE Wireless Gaming Dongle Multichannel"
		alsa.mixer_name = "USB Mixer"
		alsa.components = "USB1b1c:0a55"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <multichannel-input>
    index: 2
	name: <alsa_output.pci-0000_09_00.3.iec958-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 1030
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 17 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 2
	linked by: 2
	fixed latency: 100.14 ms
	monitor_of: 1
	card: 3 <alsa_card.pci-0000_09_00.3>
	module: 9
	properties:
		device.description = "Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Digital Stereo (IEC958)"
		device.class = "monitor"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xf6700000 irq 102"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:09:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1457"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.string = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 3
	name: <alsa_input.pci-0000_09_00.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9039
	volume: front-left: 6425 /  10% / -60.52 dB,   front-right: 6425 /  10% / -60.52 dB
	        balance 0.00
	base volume: 6554 /  10% / -60.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.73 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 2
	linked by: 2
	fixed latency: 100.14 ms
	card: 3 <alsa_card.pci-0000_09_00.3>
	module: 9
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC887-VD Analog"
		alsa.id = "ALC887-VD Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xf6700000 irq 102"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:09:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1457"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
		alsa.mixer_name = "Realtek ALC887-VD"
		alsa.components = "HDA:10ec0887,10438760,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: yes)
			properties:
				
	active port: <analog-input-linein>

list-source-outputs

10 source output(s) available.
    index: 0
	driver: <module-loopback.c>
	flags: START_CORKED 
	state: RUNNING
	source: 3 <alsa_input.pci-0000_09_00.3.analog-stereo>
	volume: front-left: 65517 / 100% / -0.01 dB,   front-right: 65517 / 100% / -0.01 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 100.14 ms
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: (null)
	owner module: 25
	properties:
		media.role = "abstract"
		module-stream-restore.id = "source-output-by-media-role:abstract"
		media.name = "Loopback to CORSAIR VOID ELITE Wireless Gaming Dongle Digital Stereo (IEC958)"
		media.icon_name = "audio-card-usb"
    index: 1
	driver: <module-loopback.c>
	flags: START_CORKED 
	state: RUNNING
	source: 1 <alsa_input.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.multichannel-input>
	volume: mono: 65517 / 100% / -0.01 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 49.93 ms
	sample spec: s16le 1ch 44100Hz
	channel map: mono
	             Mono
	resample method: (null)
	owner module: 26
	properties:
		media.role = "abstract"
		module-stream-restore.id = "source-output-by-media-role:abstract"
		media.name = "Loopback to Family 17h (Models 00h-0fh) HD Audio Controller Digital Stereo (IEC958)"
		media.icon_name = "audio-card-pci"
    index: 20
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 1 <alsa_input.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.multichannel-input>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 10.00 ms
	sample spec: s16le 1ch 44100Hz
	channel map: mono
	             Mono
	resample method: (null)
	owner module: 12
	client: 2 <ZOOM VoiceEngine>
	properties:
		media.name = "recStream"
		application.name = "ZOOM VoiceEngine"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "33080"
		application.process.user = "meanbunny"
		application.process.host = "mmdesk"
		application.process.binary = "zoom"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "f0d26f1b50d442d9890206b04c77e81a"
		application.process.session_id = "1"
		module-stream-restore.id = "source-output-by-application-name:ZOOM VoiceEngine"
    index: 21
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 0 <alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo.monitor>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 13.08 ms
	requested latency: 40.00 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 18 <PulseAudio Volume Control>
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "215852"
		application.process.user = "meanbunny"
		application.process.host = "mmdesk"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "f0d26f1b50d442d9890206b04c77e81a"
		application.process.session_id = "1"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
    index: 22
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 1 <alsa_input.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.multichannel-input>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 40.00 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 18 <PulseAudio Volume Control>
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "215852"
		application.process.user = "meanbunny"
		application.process.host = "mmdesk"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "f0d26f1b50d442d9890206b04c77e81a"
		application.process.session_id = "1"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
    index: 23
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 2 <alsa_output.pci-0000_09_00.3.iec958-stereo.monitor>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 100.14 ms
	requested latency: 100.14 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 18 <PulseAudio Volume Control>
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "215852"
		application.process.user = "meanbunny"
		application.process.host = "mmdesk"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "f0d26f1b50d442d9890206b04c77e81a"
		application.process.session_id = "1"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
    index: 24
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 3 <alsa_input.pci-0000_09_00.3.analog-stereo>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 100.14 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 18 <PulseAudio Volume Control>
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "215852"
		application.process.user = "meanbunny"
		application.process.host = "mmdesk"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "f0d26f1b50d442d9890206b04c77e81a"
		application.process.session_id = "1"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
    index: 25
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 0 <alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo.monitor>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 13.08 ms
	requested latency: 40.00 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 18 <PulseAudio Volume Control>
	direct on input: 0
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "215852"
		application.process.user = "meanbunny"
		application.process.host = "mmdesk"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "f0d26f1b50d442d9890206b04c77e81a"
		application.process.session_id = "1"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
    index: 26
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 2 <alsa_output.pci-0000_09_00.3.iec958-stereo.monitor>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 100.14 ms
	requested latency: 100.14 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 18 <PulseAudio Volume Control>
	direct on input: 1
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "215852"
		application.process.user = "meanbunny"
		application.process.host = "mmdesk"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "f0d26f1b50d442d9890206b04c77e81a"
		application.process.session_id = "1"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
    index: 27
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 0 <alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo.monitor>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 13.08 ms
	requested latency: 40.00 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 18 <PulseAudio Volume Control>
	direct on input: 13
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "215852"
		application.process.user = "meanbunny"
		application.process.host = "mmdesk"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "f0d26f1b50d442d9890206b04c77e81a"
		application.process.session_id = "1"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

Offline

#7 2020-07-14 14:27:51

meanbunny
Member
Registered: 2015-11-13
Posts: 14

Re: PulseAudio / ALSA complex audio routing issue

I did just take my Line Out plug which is the Family 17h and plugged it directly into a small soundbar with an aux port and I also can't hear audio from it. What is more strange is that in pavucontrol I can see that the Loopback to Family 17h from Corsair is detecting Audio but its not making any sound.

Offline

#8 2020-07-15 20:56:30

meanbunny
Member
Registered: 2015-11-13
Posts: 14

Re: PulseAudio / ALSA complex audio routing issue

Providing a quick update here

Line Out port on back of the motherboard apparently doesn't work but the Line In does and is associated to the Family 17h
Headset port on the front of the machine does work and redirects my microphone output to the Windows machine which must also be associated to the Family 17h
Lots of static on the line when chatting with people

Questions
1. Is it possible to remove the static feedback on the microphone?
2. Why does my Line Out on the back not work?

Offline

#9 2020-07-27 18:00:31

meanbunny
Member
Registered: 2015-11-13
Posts: 14

Re: PulseAudio / ALSA complex audio routing issue

Another update and closer to the finish line. My pulseaudio configuration is still the same except I've been able to increase source volume from 6% to 8%. Due to the new case mods below.

1. Removed GPU Fan housing, on my GPU there was a protective plastic housing that upon listening physically inside the case was making some noise.
2. Relocated RAM, my RAM was located right up next to an NVMe card so I moved it to the next slots over.
3. Remove shield near GPU for NVMe, on the motherboard there was a protective shield over top of the NVMe stick

Offline

#10 2020-07-29 01:01:16

meanbunny
Member
Registered: 2015-11-13
Posts: 14

Re: PulseAudio / ALSA complex audio routing issue

More than likely my final update here. After at least 100 hours of research, hardware changes, and configuration changes I believe I am reaching the finish line for my pulseaudio configuration and for the most part everything is working as anticipated. There is slight feedback still coming through the microphone that I will update on later if I find a solid solution but it is tolerable to others listening and is non-existent if no game is running.

The key part here for me was the source/sink for each module loopback event. I had to do both in order to get the config right. The 2nd most important configuration is the set-sink-port and set-source-port config. This is targeting specific ports on the back of the PC so I can keep cables hidden.

load-module module-loopback source=alsa_input.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.multichannel-input sink=alsa_output.pci-0000_09_00.3.analog-stereo
load-module module-loopback source=alsa_input.pci-0000_09_00.3.analog-stereo sink=alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo

set-default-sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo
set-default-source alsa_input.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.multichannel-input
set-source-volume alsa_input.pci-0000_09_00.3.analog-stereo 5000

set-card-profile alsa_card.usb-HD_Webcam_USB_HD_Webcam_USB_HD_Webcam_USB-02 off
set-card-profile alsa_card.pci-0000_07_00.1 off
set-card-profile alsa_card.pci-0000_09_00.3 output:analog-stereo+input:analog-stereo

set-sink-port alsa_output.pci-0000_09_00.3.analog-stereo analog-output-lineout
set-source-port alsa_input.pci-0000_09_00.3.analog-stereo analog-input-linein

Offline

#11 2020-08-02 20:31:21

meanbunny
Member
Registered: 2015-11-13
Posts: 14

Re: PulseAudio / ALSA complex audio routing issue

Hi All,

Turns out this was a hardware issue with a ground loop. I bought 2 of these devices below and plugged them in between both machines and the feedback is completely gone on microphone and headset. I can now talk between Windows & Linux with module-loopback and everyone can hear me. This is amazing!
https://www.amazon.com/gp/product/B0193 … UTF8&psc=1

Offline

#12 2020-08-03 08:37:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,423

Re: PulseAudio / ALSA complex audio routing issue

Nice find! Please mark as [SOLVED] by editing the title in your first post, and sorry for the general absence here, but I definitely don't notice anything off on the software side tongue

Online

Board footer

Powered by FluxBB