Skip to content

Commit 1258500

Browse files
committed
Add separate paths for chat and game output and improve volume slider on
chat output; Set version to 0.2
1 parent 6568577 commit 1258500

File tree

5 files changed

+63
-5
lines changed

5 files changed

+63
-5
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=0.1
1+
VERSION=0.2
22

33
.PHONY: all build-deb
44

@@ -8,9 +8,11 @@ clean:
88
rm -rf build/*
99

1010
build-deb:
11-
mkdir -p build/deb/DEBIAN build/deb/lib/udev/rules.d build/deb/usr/share/pulseaudio/alsa-mixer/profile-sets
11+
mkdir -p build/deb/DEBIAN build/deb/lib/udev/rules.d build/deb/usr/share/pulseaudio/alsa-mixer/profile-sets build/deb/usr/share/pulseaudio/alsa-mixer/paths
1212
cp control build/deb/DEBIAN/
1313
cp 91-pulseaudio-steelseries-arctis-5.rules build/deb/lib/udev/rules.d/
1414
cp steelseries-arctis-5-usb-audio.conf build/deb/usr/share/pulseaudio/alsa-mixer/profile-sets/
15+
cp steelseries-arctis-5-output-game.conf build/deb/usr/share/pulseaudio/alsa-mixer/paths/
16+
cp steelseries-arctis-5-output-chat.conf build/deb/usr/share/pulseaudio/alsa-mixer/paths/
1517
dpkg-deb --build build/deb build/pulseaudio-steelseries-arctis-5_${VERSION}_all.deb
1618

control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: pulseaudio-steelseries-arctis-5
2-
Version: 0.1
2+
Version: 0.2
33
Maintainer: Bert Hekman <[email protected]>
44
Homepage: https://github.com/DemonTPx/steelseries-arctis-5-pulseaudio-profile
55
Architecture: all
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This file is part of PulseAudio.
2+
#
3+
# PulseAudio is free software; you can redistribute it and/or modify
4+
# it under the terms of the GNU Lesser General Public License as
5+
# published by the Free Software Foundation; either version 2.1 of the
6+
# License, or (at your option) any later version.
7+
#
8+
# PulseAudio is distributed in the hope that it will be useful, but
9+
# WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+
# General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU Lesser General Public License
14+
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
15+
16+
; Steelseries Arctis 5 USB headset stereo chat path. The headset has two
17+
; output devices. The first one is meant for voice audio, and the second
18+
; one meant for everything else. The purpose of this unusual design is to
19+
; provide separate volume controls for voice and other audio, which can be
20+
; useful in gaming.
21+
22+
[General]
23+
priority = 50
24+
25+
[Element Com Speaker]
26+
switch = mute
27+
volume = merge
28+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This file is part of PulseAudio.
2+
#
3+
# PulseAudio is free software; you can redistribute it and/or modify
4+
# it under the terms of the GNU Lesser General Public License as
5+
# published by the Free Software Foundation; either version 2.1 of the
6+
# License, or (at your option) any later version.
7+
#
8+
# PulseAudio is distributed in the hope that it will be useful, but
9+
# WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+
# General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU Lesser General Public License
14+
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
15+
16+
; Steelseries Arctis 5 USB headset stereo chat path. The headset has two
17+
; output devices. The first one is meant for voice audio, and the second
18+
; one meant for everything else. The purpose of this unusual design is to
19+
; provide separate volume controls for voice and other audio, which can be
20+
; useful in gaming.
21+
22+
[General]
23+
priority = 99
24+
25+
[Element PCM]
26+
switch = mute
27+
volume = merge
28+

steelseries-arctis-5-usb-audio.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ description = Chat
66
device-strings = hw:%f,0,0
77
channel-map = left,right
88
paths-input = analog-input-mic
9-
paths-output = analog-output
9+
paths-output = steelseries-arctis-5-output-chat
1010

1111
[Mapping analog-game]
1212
description = Game
1313
device-strings = hw:%f,1,0
1414
channel-map = left,right
15-
paths-output = analog-output
15+
paths-output = steelseries-arctis-5-output-game
1616
direction = output
1717

1818
[Profile output:analog-chat+output:analog-game+input:analog-chat]

0 commit comments

Comments
 (0)