Sanchayan Maity
9cf5f2d409
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.
11 lines
274 B
Lua
11 lines
274 B
Lua
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)
|