From f54ec10018c258977ac130e542e5a2866e559292 Mon Sep 17 00:00:00 2001 From: Fernando Perez Date: Wed, 24 Jun 2026 20:21:46 -0300 Subject: [PATCH] Add path --- .../mixer/paths/razer-leviathan-output.conf | 29 +++++++++++++++++++ .../profile-sets/razer-leviathan-v2.conf | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 spa/plugins/alsa/mixer/paths/razer-leviathan-output.conf diff --git a/spa/plugins/alsa/mixer/paths/razer-leviathan-output.conf b/spa/plugins/alsa/mixer/paths/razer-leviathan-output.conf new file mode 100644 index 000000000..fc60bbf12 --- /dev/null +++ b/spa/plugins/alsa/mixer/paths/razer-leviathan-output.conf @@ -0,0 +1,29 @@ +# 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 . + +; 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] +description = Razer Leviathan Output + +[Element PCM,1] +volume = merge +switch = mute +override-map.1 = all +override-map.2 = all-left,all-right diff --git a/spa/plugins/alsa/mixer/profile-sets/razer-leviathan-v2.conf b/spa/plugins/alsa/mixer/profile-sets/razer-leviathan-v2.conf index b61d114f3..02d5c94a3 100644 --- a/spa/plugins/alsa/mixer/profile-sets/razer-leviathan-v2.conf +++ b/spa/plugins/alsa/mixer/profile-sets/razer-leviathan-v2.conf @@ -19,7 +19,7 @@ auto-profiles = yes description-key = soundbar-stereo device-strings = hw:%f,0,0 channel-map = left,right -paths-output = PCM:1 +paths-output = razer-leviathan-output intended-roles = audio [Profile output:stereo]