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.