Created
March 9, 2024 19:14
-
-
Save Trogious/42452bb90515f09c9940e9c760c32e10 to your computer and use it in GitHub Desktop.
Pipewire channels configuration
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
-- /etc/wireplumber/main.lua.d/51-alsa-multichannelAudioInterface.lua | |
rule = { | |
matches = { | |
{ | |
{ "node.name", "matches", "alsa_input.usb-Generic_USB_Audio-00.HiFi_5_1__hw_Audio__sink" }, | |
}, | |
{ | |
{ "node.name", "matches", "alsa_output.usb-Generic_USB_Audio-00.HiFi_5_1__hw_Audio__sink" }, | |
}, | |
}, | |
apply_properties = { | |
["audio.channels"] = 6, | |
["audio.position"] = "FL,FR,FC,LFE,RL,RR", | |
["api.alsa.period-size"] = 1024, | |
["api.alsa.period-num"] = 32, | |
}, | |
} | |
table.insert(alsa_monitor.rules, rule) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment