mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
alsa-mixer: add support for SteelSeries Arctis 5 and renamed Arctis 7 files appropriately
This commit is contained in:
parent
0d50e787f8
commit
83675b3745
10 changed files with 90 additions and 8 deletions
|
|
@ -1320,7 +1320,8 @@ dist_alsaprofilesets_DATA = \
|
|||
modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf \
|
||||
modules/alsa/mixer/profile-sets/kinect-audio.conf \
|
||||
modules/alsa/mixer/profile-sets/sb-omni-surround-5.1.conf \
|
||||
modules/alsa/mixer/profile-sets/steelseries-arctis-usb-audio.conf \
|
||||
modules/alsa/mixer/profile-sets/steelseries-arctis-5-usb-audio.conf \
|
||||
modules/alsa/mixer/profile-sets/steelseries-arctis-7-usb-audio.conf \
|
||||
modules/alsa/mixer/profile-sets/dell-dock-tb16-usb-audio.conf
|
||||
|
||||
if HAVE_UDEV
|
||||
|
|
@ -1364,9 +1365,11 @@ dist_alsapaths_DATA = \
|
|||
modules/alsa/mixer/paths/hdmi-output-5.conf \
|
||||
modules/alsa/mixer/paths/hdmi-output-6.conf \
|
||||
modules/alsa/mixer/paths/hdmi-output-7.conf \
|
||||
modules/alsa/mixer/paths/steelseries-arctis-input.conf \
|
||||
modules/alsa/mixer/paths/steelseries-arctis-output-mono.conf \
|
||||
modules/alsa/mixer/paths/steelseries-arctis-output-stereo.conf
|
||||
modules/alsa/mixer/paths/steelseries-arctis-5-output-chat.conf \
|
||||
modules/alsa/mixer/paths/steelseries-arctis-5-output-game.conf \
|
||||
modules/alsa/mixer/paths/steelseries-arctis-7-input.conf \
|
||||
modules/alsa/mixer/paths/steelseries-arctis-7-output-mono.conf \
|
||||
modules/alsa/mixer/paths/steelseries-arctis-7-output-stereo.conf
|
||||
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -2545,6 +2545,8 @@ static int path_verify(pa_alsa_path *p) {
|
|||
{ "iec958-passthrough-output", N_("Digital Passthrough (S/PDIF)") },
|
||||
{ "multichannel-input", N_("Multichannel Input") },
|
||||
{ "multichannel-output", N_("Multichannel Output") },
|
||||
{ "steelseries-arctis-5-output-game", N_("Game Output") },
|
||||
{ "steelseries-arctis-5-output-chat", N_("Chat Output") },
|
||||
};
|
||||
|
||||
pa_alsa_element *e;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,27 @@
|
|||
# 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/>.
|
||||
|
||||
; Steelseries Arctis 5 USB headset stereo chat path. The headset has two
|
||||
; output devices. The first one is meant for voice audio, and the second
|
||||
; one meant for everything else. The purpose of this unusual design is to
|
||||
; provide separate volume controls for voice and other audio, which can be
|
||||
; useful in gaming.
|
||||
|
||||
[General]
|
||||
priority = 50
|
||||
|
||||
[Element Com Speaker]
|
||||
switch = mute
|
||||
volume = merge
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
# 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/>.
|
||||
|
||||
; Steelseries Arctis 5 USB headset stereo game path. The headset has two
|
||||
; output devices. The first one is meant for voice audio, and the second
|
||||
; one meant for everything else. The purpose of this unusual design is to
|
||||
; provide separate volume controls for voice and other audio, which can be
|
||||
; useful in gaming.
|
||||
|
||||
[General]
|
||||
priority = 99
|
||||
|
||||
[Element PCM]
|
||||
switch = mute
|
||||
volume = merge
|
||||
|
|
@ -105,7 +105,8 @@ ATTRS{idVendor}=="0763", ATTRS{idProduct}=="2012", ENV{PULSE_PROFILE_SET}="maudi
|
|||
ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02bb", ENV{PULSE_PROFILE_SET}="kinect-audio.conf"
|
||||
ATTRS{idVendor}=="041e", ATTRS{idProduct}=="322c", ENV{PULSE_PROFILE_SET}="sb-omni-surround-5.1.conf"
|
||||
ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="4014", ENV{PULSE_PROFILE_SET}="dell-dock-tb16-usb-audio.conf"
|
||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1260", ENV{PULSE_PROFILE_SET}="steelseries-arctis-usb-audio.conf"
|
||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1250", ENV{PULSE_PROFILE_SET}="steelseries-arctis-5-usb-audio.conf"
|
||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1260", ENV{PULSE_PROFILE_SET}="steelseries-arctis-7-usb-audio.conf"
|
||||
ATTRS{idVendor}=="147a", ATTRS{idProduct}=="e055", ENV{PULSE_PROFILE_SET}="cmedia-high-speed-true-hdaudio.conf"
|
||||
|
||||
LABEL="pulseaudio_end"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
[General]
|
||||
auto-profiles = yes
|
||||
|
||||
[Mapping analog-chat]
|
||||
description = Chat
|
||||
device-strings = hw:%f,0,0
|
||||
channel-map = left,right
|
||||
paths-input = analog-input-mic
|
||||
paths-output = steelseries-arctis-5-output-chat
|
||||
|
||||
[Mapping analog-game]
|
||||
description = Game
|
||||
device-strings = hw:%f,1,0
|
||||
channel-map = left,right
|
||||
paths-output = steelseries-arctis-5-output-game
|
||||
direction = output
|
||||
|
||||
[Profile output:analog-chat+output:analog-game+input:analog-chat]
|
||||
output-mappings = analog-chat analog-game
|
||||
input-mappings = analog-chat
|
||||
priority = 5100
|
||||
skip-probe = yes
|
||||
|
|
@ -27,13 +27,13 @@ auto-profiles = yes
|
|||
[Mapping analog-mono]
|
||||
device-strings = hw:%f,0,0
|
||||
channel-map = mono
|
||||
paths-output = steelseries-arctis-output-mono
|
||||
paths-input = steelseries-arctis-input
|
||||
paths-output = steelseries-arctis-7-output-mono
|
||||
paths-input = steelseries-arctis-7-input
|
||||
|
||||
[Mapping analog-stereo]
|
||||
device-strings = hw:%f,1,0
|
||||
channel-map = left,right
|
||||
paths-output = steelseries-arctis-output-stereo
|
||||
paths-output = steelseries-arctis-7-output-stereo
|
||||
direction = output
|
||||
|
||||
[Profile output:analog-mono+output:analog-stereo+input:analog-mono]
|
||||
Loading…
Add table
Add a link
Reference in a new issue