Added audio configuration
This commit is contained in:
parent
46be373805
commit
5ffd4f77f6
5 changed files with 60 additions and 0 deletions
12
.config/wireplumber/main.lua.d/51-acer-monitor.lua
Normal file
12
.config/wireplumber/main.lua.d/51-acer-monitor.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
rule ={
|
||||
matches = {
|
||||
{
|
||||
{"node.name","equals","GA104 High Definition Audio Controller Digital Stereo (HDMI 2)"},
|
||||
}
|
||||
},
|
||||
apply_properties = {
|
||||
["node.description"] = "Acer Monitor Speakers",
|
||||
["node.nick"] = "Acer Monitor Speakers"
|
||||
}
|
||||
}
|
||||
table.insert(alsa_monitor.rules,rule)
|
12
.config/wireplumber/main.lua.d/51-built-in-input.lua
Normal file
12
.config/wireplumber/main.lua.d/51-built-in-input.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
rule ={
|
||||
matches = {
|
||||
{
|
||||
{"node.name","equals","alsa_input.platform-snd_aloop.0.analog-stereo"},
|
||||
}
|
||||
},
|
||||
apply_properties = {
|
||||
["node.description"] = "Built-in Audio Input",
|
||||
["node.nick"] = "Built-in Audio Input"
|
||||
}
|
||||
}
|
||||
table.insert(alsa_monitor.rules,rule)
|
12
.config/wireplumber/main.lua.d/51-built-in-output.lua
Normal file
12
.config/wireplumber/main.lua.d/51-built-in-output.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
rule ={
|
||||
matches = {
|
||||
{
|
||||
{"node.name","equals","alsa_output.platform-snd_aloop.0.analog-stereo"},
|
||||
}
|
||||
},
|
||||
apply_properties = {
|
||||
["node.description"] = "Built-in Audio Output",
|
||||
["node.nick"] = "Built-in Audio Output"
|
||||
}
|
||||
}
|
||||
table.insert(alsa_monitor.rules,rule)
|
12
.config/wireplumber/main.lua.d/51-focusrite-input.lua
Normal file
12
.config/wireplumber/main.lua.d/51-focusrite-input.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
rule ={
|
||||
matches = {
|
||||
{
|
||||
{"node.name","equals","alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y70DAWR074D97D-00.analog-stereo"},
|
||||
}
|
||||
},
|
||||
apply_properties = {
|
||||
["node.description"] = "Scarlett Solo Interface Input",
|
||||
["node.nick"] = "Scarlett Solo Input"
|
||||
}
|
||||
}
|
||||
table.insert(alsa_monitor.rules,rule)
|
12
.config/wireplumber/main.lua.d/51-focusrite-output.lua
Normal file
12
.config/wireplumber/main.lua.d/51-focusrite-output.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
rule ={
|
||||
matches = {
|
||||
{
|
||||
{"node.name","equals","alsa_output.usb-Focusrite_Scarlett_Solo_USB_Y70DAWR074D97D-00.iec958-stereo"},
|
||||
}
|
||||
},
|
||||
apply_properties = {
|
||||
["node.description"] = "Scarlett Solo Interface Output",
|
||||
["node.nick"] = "Scarlett Solo Output"
|
||||
}
|
||||
}
|
||||
table.insert(alsa_monitor.rules,rule)
|
Loading…
Reference in a new issue