Last active
April 30, 2023 10:01
-
-
Save curz46/1ce42f9c59136cc812b7518963d770b4 to your computer and use it in GitHub Desktop.
astro a50 pulseaudio /etc/pulse/default.pa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pulseaudio defaults to only detecting Astro A50 voice and microphone, not game | |
# this is what i had to do to fix it, hopefully it saves someone some time | |
# index:subdevice may be different for you | |
# resources: | |
# https://wiki.archlinux.org/index.php/PulseAudio/Examples at "module-alsa-sink" | |
# https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index6h3 | |
.nofail | |
load-module module-alsa-sink device=hw:3,0 sink_name=voice | |
update-sink-proplist voice device.description="Astro A50 Voice" | |
# it also incorrectly orders the channel map, i believe this is relatively correct (at least not unbalanced) | |
load-module module-alsa-sink device=hw:3,1 sink_name=game channel_map=left,right,fro | |
nt-center,rear-center,rear-left,rear-right | |
update-sink-proplist game device.description="Astro A50 Game" | |
load-module module-alsa-source device=hw:3,0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@FennyFatal - thanks for your script, much appreciated!
should be changed to:
for it to run through shellcheck :)