wireplumber: Disable HDMI monitor as an audio sink

This commit is contained in:
Sanchayan Maity 2023-06-27 19:32:23 +05:30
parent 9c9dc6a6b8
commit 8218e69e1f
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -7,4 +7,16 @@ disable_C920_mic_rule = {
}, },
apply_properties = { ["node.disabled"] = true, }, apply_properties = { ["node.disabled"] = true, },
} }
disable_hdmi_audio_rule = {
matches = {
{
{ "node.nick" , "equals", "LG HDR 4K" },
{ "media.class", "equals", "Audio/Sink" },
},
},
apply_properties = { ["node.disabled"] = true, },
}
table.insert(alsa_monitor.rules, disable_C920_mic_rule) table.insert(alsa_monitor.rules, disable_C920_mic_rule)
table.insert(alsa_monitor.rules, disable_hdmi_audio_rule)