wireplumber: Disable HDMI monitor as an audio sink
This commit is contained in:
parent
9c9dc6a6b8
commit
8218e69e1f
1 changed files with 12 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue