[alsa-devel] How to support mutiple audio interface in alsa
fye at broadcom.com
Wed Sep 9 20:50:34 CEST 2009
This question is for ALSA, not ALSA SOC.
I am doing an ALSA driver for our chip (soc chip with cpu inside), inside it has I2S and DAC. The I2S can be feed to DAC, or come out of the chip to an external CODEC chip.
I wonder how should I model this in the driver, are they multiple ALSA cards, or devices, or subdevices?
Since the I2S is shared, I think the most appropriate is 'subdevice', but I do not see how this is used in linux/sound, this is only used in pci, and seems to tied together with substream number.
If the answer is 'device', is there some existing driver that are doing this?
More information about the Alsa-devel