[alsa-devel] Does ASoC support sound card with multiple interfaces?

Ashish Chavan ashish.chavan at kpitcummins.com
Mon Jan 2 16:06:13 CET 2012

  I have a codec with multiple TX and RX channels. In ASoC tree, I have
seen examples where these kind of codecs are implemented as multichannel
codecs. Instead I want it to be treated as card with multiple
interfaces, e.g. Instead of one interface with eight TX channels, I need
it to behave it as card with four stereo playback interfaces. The
primary aim for doing this is that multiple applications should be able
to play/record simultaneously. AFAIK, In case of a multichannel card, if
it is opened by one application for stereo playback, there is no way to
use rest of the unused channels by other applications.

Is it easily possible to achieve what I am trying to? Any pointers to
example driver source will greatly help!

BTW all three i.e., platform, machine as well as codec driver are to be
implemented. I am aware of the fact that this requirement may affect all

Thanks in advance,

-- Ashish
|| GNU FAN ||

More information about the Alsa-devel mailing list