wireplumber: Disable C920 webcam microphone
On the desktop, we use the USB microphone and the C920 being selected as the default was becoming annoying. Add a rule to disable C920 node acting as an audio microphone input. The video source provided by C920 will still be functional. We are only turning off the Audio/Source node and not the complete device.
This commit is contained in:
parent
1546762662
commit
9cf5f2d409
1 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
||||||
|
disable_C920_mic_rule = {
|
||||||
|
matches = {
|
||||||
|
{
|
||||||
|
{ "node.nick", "equals", "HD Pro Webcam C920" },
|
||||||
|
{ "media.class", "equals", "Audio/Source" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
apply_properties = { ["node.disabled"] = true, },
|
||||||
|
}
|
||||||
|
table.insert(alsa_monitor.rules, disable_C920_mic_rule)
|
Loading…
Reference in a new issue