[alsa-devel] [RFC] Channel mapping API

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Aug 21 16:12:36 CEST 2012

On Tue, Aug 21, 2012 at 04:08:40PM +0200, Takashi Iwai wrote:
> Mark Brown wrote:

> > Currently only named channel maps are supported.  It'd be nice to also
> > support just plain numbered channels, or at least provide a way to say
> > to userspace that it needs to do something like chase through a routing
> > map to figure out where each channel goes (as opposed to assuming that
> > the driver doesn't know what to report).  

> The channel map value are basically arbitrary 32bit integer, so we can
> define something like:
> 	#define SND_CHMAP_NUMBERED	0x10000
> and pass the channel number with this bit flag.
> Then it becomes a matter of definition of chmap values.

Yes, I think something like this where we've got the map values split
into a type and a value would address things simply.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120821/80a77e8c/attachment.sig>

More information about the Alsa-devel mailing list