[alsa-devel] how to combine mutil-channel in playback or capture?

Zhang wei zhangwei at vimicro.com
Fri Mar 22 09:08:03 CET 2013


I have already achieved the alsa-driver which can playback and capture function with two channel. 
My board based on ARM9 which have 3 ADC & 1 DAC in IIS bus and all of them shared the same BCLK and LRCK. The pins figure Like this:

           _________________
           |        BCLK   |___________
           |               |
           |        LRCK   |___________
           |               |
           |       ADCDAT0 |___________
           |               |
           |       ADCDAT1 |___________
           |               |
           |       ADCDAT2 |___________
           |               |
           |       DACDATA |___________
           |               |
           |_______________|

Every ADCDATn(n=0,1,2) has two channel so the question is how can I get multi-channel audio data such as 4 or 6 in capture funciton? 


BR


More information about the Alsa-devel mailing list