All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: reatmon@ti.com
Cc: Paresh Bhagat <p-bhagat@ti.com>,
	meta-arago@lists.yoctoproject.org, praneeth@ti.com,
	v-singh1@ti.com, c-shilwant@ti.com, khasim@ti.com, afd@ti.com,
	devarsht@ti.com
Subject: Re: [meta-arago] [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files
Date: Fri, 23 Jan 2026 12:03:33 -0500	[thread overview]
Message-ID: <20260123170333.GD11121@denix.org> (raw)
In-Reply-To: <da8a1b60-525e-45c7-afce-7af747dd1af8@ti.com>

On Fri, Jan 23, 2026 at 10:03:39AM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
> 
> 
> On 1/23/2026 12:03 AM, Paresh Bhagat wrote:
> >- Add 92-capture.conf for capture configuration
> >- Add 90-multichannel.conf for multichannel setup
> >- Add pipewire_1.0.9.bbappend recipe extension
> >
> >Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
> >---
> >  .../pipewire/pipewire/90-multichannel.conf      | 17 +++++++++++++++++
> >  .../pipewire/pipewire/92-capture.conf           | 17 +++++++++++++++++
> >  .../pipewire/pipewire_1.0.9.bbappend            | 14 ++++++++++++++
> >  3 files changed, 48 insertions(+)
> >  create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> >  create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> >  create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> >
> >diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> >new file mode 100644
> >index 00000000..1dd926bc
> >--- /dev/null
> >+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> >@@ -0,0 +1,17 @@
> >+context.objects = [
> >+    {
> >+        factory = adapter
> >+        args = {
> >+            factory.name     = api.alsa.pcm.sink
> >+            node.name        = "alsa_multidac_8ch"
> >+            node.description = "Multi-DAC 8ch Output"
> >+            media.class      = "Audio/Sink"
> >+
> >+            api.alsa.path = "hw:0,0"
> >+            api.alsa.disable-mmap = true
> >+
> >+            audio.channels = 8
> >+            audio.position = [ FL FR FC LFE RL RR SL SR ]
> >+        }
> >+    }
> >+]
> >diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> >new file mode 100644
> >index 00000000..b0871da2
> >--- /dev/null
> >+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> >@@ -0,0 +1,17 @@
> >+context.objects = [
> >+    {
> >+        factory = adapter
> >+        args = {
> >+            factory.name     = api.alsa.pcm.source
> >+            node.name        = "alsa_multidac_4ch_capture"
> >+            node.description = "ALSA 4ch Capture (L1 L2 R1 R2)"
> >+            media.class      = Audio/Source
> >+
> >+            api.alsa.path = "hw:0,0"
> >+            api.alsa.disable-mmap = true
> >+
> >+            audio.channels = 4
> >+            audio.position = [ FL FR SL SR ]
> >+        }
> >+    }
> >+]
> >diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> >new file mode 100644
> >index 00000000..29b17af3
> >--- /dev/null
> >+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> 
> 
> We do not directly bbappend recipes to maintain yoctoproject
> compatible status.  Please check other bbappends in meta-arago for
> examples on how to do this properly.  For example:
> meta-arago-distro/recipes-multimedia/libtiff/tiff_%.bbappend
> 
> 
> This same comment applies to the other patches where you add
> bbappend files as well.

And since this is to add 2 extra conf files, alternatively this could be a 
completely separate recipe.


> >@@ -0,0 +1,14 @@
> >+SRC_URI += " \
> >+    file://90-multichannel.conf \
> >+    file://92-capture.conf \
> >+"
> >+
> >+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
> >+
> >+do_install:append() {
> >+    install -d ${D}${sysconfdir}/pipewire/pipewire.conf.d
> >+    install -m 0644 ${WORKDIR}/90-multichannel.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
> >+    install -m 0644 ${WORKDIR}/92-capture.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
> >+}
> >+
> >+FILES:${PN} += " ${sysconfdir}"


  reply	other threads:[~2026-01-23 17:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-23  6:03 [scarthgap][RFC PATCH 0/3] Add pipeWire audio stack for am62dxx Paresh Bhagat
2026-01-23  6:03 ` [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files Paresh Bhagat
2026-01-23  6:47   ` [meta-arago] " Yogesh Hegde
2026-01-23 16:03   ` Ryan Eatmon
2026-01-23 17:03     ` Denys Dmytriyenko [this message]
2026-01-23  6:03 ` [scarthgap][RFC PATCH 2/3] recipes-multimedia: Add wireplumber audio configuration Paresh Bhagat
2026-01-23  7:07   ` [meta-arago] " Yogesh Hegde
2026-01-23  6:03 ` [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx Paresh Bhagat
2026-01-23  7:19   ` [meta-arago] " Yogesh Hegde
2026-01-23 16:11   ` Ryan Eatmon
2026-01-23 17:01     ` Denys Dmytriyenko
2026-01-23 17:14       ` Ryan Eatmon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260123170333.GD11121@denix.org \
    --to=denis@denix.org \
    --cc=afd@ti.com \
    --cc=c-shilwant@ti.com \
    --cc=devarsht@ti.com \
    --cc=khasim@ti.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=p-bhagat@ti.com \
    --cc=praneeth@ti.com \
    --cc=reatmon@ti.com \
    --cc=v-singh1@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.