Skip to content

Commit

Permalink
Add separate paths for chat and game output and improve volume slider on
Browse files Browse the repository at this point in the history
chat output; Set version to 0.2
  • Loading branch information
DemonTPx committed Feb 13, 2018
1 parent 6568577 commit 1258500
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.1
VERSION=0.2

.PHONY: all build-deb

Expand All @@ -8,9 +8,11 @@ clean:
rm -rf build/*

build-deb:
mkdir -p build/deb/DEBIAN build/deb/lib/udev/rules.d build/deb/usr/share/pulseaudio/alsa-mixer/profile-sets
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
cp control build/deb/DEBIAN/
cp 91-pulseaudio-steelseries-arctis-5.rules build/deb/lib/udev/rules.d/
cp steelseries-arctis-5-usb-audio.conf build/deb/usr/share/pulseaudio/alsa-mixer/profile-sets/
cp steelseries-arctis-5-output-game.conf build/deb/usr/share/pulseaudio/alsa-mixer/paths/
cp steelseries-arctis-5-output-chat.conf build/deb/usr/share/pulseaudio/alsa-mixer/paths/
dpkg-deb --build build/deb build/pulseaudio-steelseries-arctis-5_${VERSION}_all.deb

2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: pulseaudio-steelseries-arctis-5
Version: 0.1
Version: 0.2
Maintainer: Bert Hekman <demontpx@gmail.com>
Homepage: https://github.com/DemonTPx/steelseries-arctis-5-pulseaudio-profile
Architecture: all
Expand Down
28 changes: 28 additions & 0 deletions steelseries-arctis-5-output-chat.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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

28 changes: 28 additions & 0 deletions steelseries-arctis-5-output-game.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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 = 99

[Element PCM]
switch = mute
volume = merge

4 changes: 2 additions & 2 deletions steelseries-arctis-5-usb-audio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ description = Chat
device-strings = hw:%f,0,0
channel-map = left,right
paths-input = analog-input-mic
paths-output = analog-output
paths-output = steelseries-arctis-5-output-chat

[Mapping analog-game]
description = Game
device-strings = hw:%f,1,0
channel-map = left,right
paths-output = analog-output
paths-output = steelseries-arctis-5-output-game
direction = output

[Profile output:analog-chat+output:analog-game+input:analog-chat]
Expand Down

0 comments on commit 1258500

Please sign in to comment.