aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Lozano <walter.lozano@collabora.com>2020-08-18 15:11:19 -0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-08-25 11:10:14 +0000
commit4cc55381909d888236019f8c5be92ad95c4c0f9e (patch)
tree0268535e498c377f6720ecaa2ba1fc97281619bb
parent3f4fce403495a43202698d3f288b668544e9214e (diff)
meta-pipewire: Add imx8mq audio sink to WirePlumber configuration
In order to use audio jack as default audio sink on iMX8MQ EVK add a specific configuration file in WirePlumber. Bug-AGL: SPEC-3410 Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Change-Id: Iab6b85d3cd2072ea2d081fd44bdb492a25a92d74 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25129 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/30-imx8mq-audio-sink.endpoint12
-rw-r--r--meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl_git.bb1
2 files changed, 13 insertions, 0 deletions
diff --git a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/30-imx8mq-audio-sink.endpoint b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/30-imx8mq-audio-sink.endpoint
new file mode 100644
index 000000000..538d31376
--- /dev/null
+++ b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/30-imx8mq-audio-sink.endpoint
@@ -0,0 +1,12 @@
+[match-node]
+priority = 30
+properties = [
+ { name = "media.class", value = "Audio/Sink" },
+ { name = "api.alsa.card.id", value = "wm8524audio" },
+]
+
+[endpoint]
+type = "pw-audio-softdsp-endpoint"
+direction = "sink"
+streams = "playback.streams"
+priority = 30
diff --git a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl_git.bb b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl_git.bb
index 7df90907a..8b9a64594 100644
--- a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl_git.bb
+++ b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl_git.bb
@@ -24,6 +24,7 @@ SRC_URI = "\
file://30-dra7xx-audio-sink.endpoint \
file://30-dra7xx-audio-source.endpoint \
file://30-rpi3-audio-sink.endpoint \
+ file://30-imx8mq-audio-sink.endpoint \
file://40-fiberdyne-amp.endpoint \
file://40-microchip-mic.endpoint \
file://70-usb-audio-sink.endpoint \