22 Mar
2013
22 Mar
'13
10:27 a.m.
On 22.03.2013 10:23, Zhang wei wrote:
Thank you. Yes,you're right. I need 4 different stereo Codecs at least more than one on my board and i think that will be more funy than 1 Codec.In this case ,the struct snd_soc_card will be initialized as following: Struct snd_soc_card test_card= { .name=”Test Card”, .dai_link=&test_dai_codecs, .num_links=4; } As a result ,there would be 4 devices named pcmC0Dnp(n=0,1,2,3) under the directory /dev/snd. I wounder how and who combines the multi-channel audio data togother? Is it the plugin ?
Yes, you can use the alsa userspace for that.
See http://www.alsa-project.org/main/index.php/Asoundrc
Daniel