Adrian Knoth wrote:
I'm afraid the channel map may not work for pro-audio interfaces. While consumer devices will surely benefit from a label like
SNDRV_CHMAP_RRC, /* rear right center */
professional-grade cards simply don't have such channel names.
Instead, "our" channels have names like
ADAT 7 Line 12 Bus 14L
or however else the vendor decided to call (and physically label) them.
That's what the SNDRV_CHMAP_DRIVER_SPEC flag is for.
Furthermore, there isn't necessarily a 1:1 mapping between PCM channels and physical I/Os.
How about struct snd_pcm_channel_info?
Maybe there are better places for such an extension, I'm not an ALSA-API expert.
That place would be the ALSA media controller API. (I should implement it some day ...)
Regards, Clemens