alsa-mixer: Add an profile for EVO4 interface

The Audient EVO4 USB audio interface supports loopback audio, so the
desktop audio set out to it can also be included back into the input
audio. In some situations this is not what you want (e.g. when you use
it for conference calling).

This change introduces and additional profile which disables loopback
audio so the user can choose whether loopback audio is enabled or not.
This commit is contained in:
Toon Claes 2020-10-25 14:57:29 +01:00
parent d8e708e44c
commit fa5496a956
3 changed files with 71 additions and 0 deletions

View file

@ -1353,6 +1353,7 @@ dist_alsaprofilesets_DATA = \
modules/alsa/mixer/profile-sets/default.conf \ modules/alsa/mixer/profile-sets/default.conf \
modules/alsa/mixer/profile-sets/force-speaker.conf \ modules/alsa/mixer/profile-sets/force-speaker.conf \
modules/alsa/mixer/profile-sets/force-speaker-and-int-mic.conf \ modules/alsa/mixer/profile-sets/force-speaker-and-int-mic.conf \
modules/alsa/mixer/profile-sets/audient-evo4.conf \
modules/alsa/mixer/profile-sets/audigy.conf \ modules/alsa/mixer/profile-sets/audigy.conf \
modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \ modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \
modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \ modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \

View file

@ -144,6 +144,9 @@ ATTRS{idVendor}=="0951", ATTRS{idProduct}=="16ff", ENV{ID_ID}="usb-HyperX_Cloud_
ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1702", ENV{ID_ID}="usb-HyperX_Cloud_Orbit_S_Hi-Res_2Ch-$env{ID_USB_INTERFACE_NUM}" ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1702", ENV{ID_ID}="usb-HyperX_Cloud_Orbit_S_Hi-Res_2Ch-$env{ID_USB_INTERFACE_NUM}"
ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1703", ENV{ID_ID}="usb-HyperX_Cloud_Orbit_S_3D_8Ch-$env{ID_USB_INTERFACE_NUM}" ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1703", ENV{ID_ID}="usb-HyperX_Cloud_Orbit_S_3D_8Ch-$env{ID_USB_INTERFACE_NUM}"
# Audient EVO 4
ATTRS{idVendor}=="2708", ATTRS{idProduct}=="0006", ENV{PULSE_PROFILE_SET}="audient-evo4.conf"
GOTO="pulseaudio_end" GOTO="pulseaudio_end"
LABEL="pulseaudio_check_pci" LABEL="pulseaudio_check_pci"

View file

@ -0,0 +1,67 @@
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
; Audient EVO4 audio interface
;
; The Audient EVO4 USB audio interface supports loopback audio, so the desktop
; audio set out to it can also be included back into the input audio. In some
; situations this is not what you want (e.g. when you use it for conference
; calling).
; This profile adds additional profile which disables loopback audio so the user
; can choose whether loopback audio is enabled or not.
[General]
auto-profiles = yes
[Mapping mic-input]
description = Microphones
device-strings = hw:%f
channel-map = mono,mono,aux1,aux1
paths-input = analog-input-mic
direction = input
priority = 1
[Mapping multichannel-input]
description = Multichannel
device-strings = hw:%f
channel-map = front-left,front-right,front-center,lfe
paths-input = multichannel-input
direction = input
priority = 2
[Mapping analog-surround-40]
description = Analog Surround 4.0
device-strings = front:%f
channel-map = front-left,front-right,front-center,lfe
paths-output = analog-output
direction = output
priority = 1
[Profile output:analog-surround-40+input:mic-input]
description = Analog Surround 4.0 Output + Mic Input
output-mappings = analog-surround-40
input-mappings = mic-input
priority = 100
skip-probe = yes
[Profile output:analog-surround-40+input:multichannel-input]
description = Analog Surround 4.0 Output + Multichannel Input
output-mappings = analog-surround-40
input-mappings = multichannel-input
priority = 60
skip-probe = yes