diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2024-09-04 16:27:15 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-09-09 14:37:44 +0000 |
commit | 15d8f1f9263e9c6eba2e728aac6a9485e471239b (patch) | |
tree | 7286602b6f0191928fac4e0b88799a5f10d44da2 /recipes-multimedia/wireplumber/files/30-v4l2-monitor.lua | |
parent | 0f13b08e09b9fbb99e52d446504e4d2681ca437f (diff) |
meta-agl-demo: update audiomixer & wireplumber bbappend for 0.5 update
Bug-AGL: SPEC-4934
Change-Id: I4ca64a4c34fef3565611a4494fd87f9013d6ac7f
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30244
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
ci-image-build: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
(cherry picked from commit cf57bd29b9bf9614d9fa7f7e80fc4a6cfbcde7a0)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30210
Diffstat (limited to 'recipes-multimedia/wireplumber/files/30-v4l2-monitor.lua')
-rw-r--r-- | recipes-multimedia/wireplumber/files/30-v4l2-monitor.lua | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/recipes-multimedia/wireplumber/files/30-v4l2-monitor.lua b/recipes-multimedia/wireplumber/files/30-v4l2-monitor.lua deleted file mode 100644 index 394386235..000000000 --- a/recipes-multimedia/wireplumber/files/30-v4l2-monitor.lua +++ /dev/null @@ -1,59 +0,0 @@ --- V4L2 monitor config file; with selecting by default USB camera -- - -v4l2_monitor = {} -v4l2_monitor.properties = {} - -v4l2_monitor.rules = { - -- An array of matches/actions to evaluate. - { - -- Rules for matching a device or node. It is an array of - -- properties that all need to match the regexp. If any of the - -- matches work, the actions are executed for the object. - matches = { - { - -- This matches all cards. - { "device.name", "matches", "v4l2_device.*" }, - }, - }, - -- Apply properties on the matched object. - apply_properties = { - -- ["device.nick"] = "My Device", - }, - }, - { - matches = { - { - -- Matches all sources. - { "node.name", "matches", "v4l2_input.*" }, - }, - { - -- Matches all sinks. - { "node.name", "matches", "v4l2_output.*" }, - }, - }, - apply_properties = { - --["node.nick"] = "My Node", - --["priority.driver"] = 100, - --["priority.session"] = 100, - --["node.pause-on-idle"] = false, - }, - }, - { - matches = { - { - { "node.name", "matches", "v4l2_input*usb*" }, - }, - }, - apply_properties = { - ["priority.driver"] = 1300, - ["priority.session"] = 1300, - }, - }, -} - -function v4l2_monitor.enable() - load_monitor("v4l2", { - properties = v4l2_monitor.properties, - rules = v4l2_monitor.rules, - }) -end |