Added audio configuration

This commit is contained in:
afonsofrancof 2022-10-31 21:58:13 +00:00
parent 46be373805
commit 5ffd4f77f6
5 changed files with 60 additions and 0 deletions

View 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)

View 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)

View 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)

View 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)

View 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)