From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: pl bossart <bossart.nospam@gmail.com>,
alsa-devel@alsa-project.org,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: ALSA and MediaController
Date: Tue, 17 May 2011 13:57:21 -0700 [thread overview]
Message-ID: <20110517205721.GB2622@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <s5hhb8t2mn4.wl%tiwai@suse.de>
On Tue, May 17, 2011 at 08:43:43PM +0200, Takashi Iwai wrote:
> The current flat array implementation is a result after hard time
> with attempts of implementing the graph in mixer API at the time
> of ALSA 0.5.x. This ended up with a total mess of the code.
> Maybe now we'd implement it differently, but I believe that the
> flat array itself is the best as the primary data form.
> We can provide some extended attributes to each control if needed.
Yeah, the discussion was to initially keep the array of controls and
associate that with a separate graph so that we have a way for userspace
to figure out how all the controls are plumbed together and what they
actually mean. One of the main drivers for interest in the media
controller API was that it's already doing the graph drawing to
userspace bit.
> > - Laurent suggested a new ioctl to export media_entity information to
> > userspace, as a binary buffer containing a list of TLV
> > (Type-Length-Value) field. However it looks like there's already an
> > ELEM_BYTES control type. It might make more sense to expose this
> > information using native ALSA controls, but again feedback from smart
> > people on this list would be welcome.
> You may use a TLV information provided for each control element, too.
> So far, this provides only the dB information. But it doesn't have to
> be restricted to that.
We also need to be able to add non-control nodes to what's visible to
the user, showing fixed function connections.
next prev parent reply other threads:[~2011-05-17 20:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-17 17:48 ALSA and MediaController pl bossart
2011-05-17 18:02 ` Mark Brown
2011-05-17 18:06 ` Takashi Iwai
2011-05-17 18:43 ` Takashi Iwai
2011-05-17 20:57 ` Mark Brown [this message]
2011-05-21 2:43 ` Raymond Yau
2011-05-21 10:57 ` Mark Brown
2011-05-23 5:39 ` Raymond Yau
2011-05-23 15:00 ` Mark Brown
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=20110517205721.GB2622@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=bossart.nospam@gmail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=tiwai@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).