diff --git a/src/Makefile.am b/src/Makefile.am index bd764037b..6842efe98 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1353,6 +1353,7 @@ dist_alsaprofilesets_DATA = \ modules/alsa/mixer/profile-sets/default.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/audient-evo4.conf \ modules/alsa/mixer/profile-sets/audigy.conf \ modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \ modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \ diff --git a/src/modules/alsa/90-pulseaudio.rules b/src/modules/alsa/90-pulseaudio.rules index 7bfacda09..ae50e81a6 100644 --- a/src/modules/alsa/90-pulseaudio.rules +++ b/src/modules/alsa/90-pulseaudio.rules @@ -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}=="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" LABEL="pulseaudio_check_pci" diff --git a/src/modules/alsa/mixer/profile-sets/audient-evo4.conf b/src/modules/alsa/mixer/profile-sets/audient-evo4.conf new file mode 100644 index 000000000..95a7ae889 --- /dev/null +++ b/src/modules/alsa/mixer/profile-sets/audient-evo4.conf @@ -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 . + +; 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