From 4cc55381909d888236019f8c5be92ad95c4c0f9e Mon Sep 17 00:00:00 2001 From: Walter Lozano Date: Tue, 18 Aug 2020 15:11:19 -0300 Subject: 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 Change-Id: Iab6b85d3cd2072ea2d081fd44bdb492a25a92d74 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25129 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- .../30-imx8mq-audio-sink.endpoint | 12 ++++++++++++ .../wireplumber/wireplumber-board-config-agl_git.bb | 1 + 2 files changed, 13 insertions(+) create mode 100644 meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/30-imx8mq-audio-sink.endpoint (limited to 'meta-pipewire') 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 \ -- cgit 1.2.3-korg