[alsa-devel] ASoC: How to mix multi input ?

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed May 20 07:20:06 CEST 2015


Hi Mark, ALSA SoC

I would like to ask you how to mix multi input in ASoC.
Renesas sound device(s) can mix multi input to 1 output.

             +-+
 sound A --> |M|
 sound B --> |I| --> [ codec ] -> speaker
 sound C --> |X|
             +-+

Here, sound A/B/C will be used randomly.
Does ALSA SoC already has this kind of system ?

My image about these are like this.

 sound A: aplay -D hw:0 ...
 sound B: aplay -D hw:1 ...
 sound C: aplay -D hw:2 ...
 ...

codec will be started if one of A/B/C are started,
and it will be stopped if all of A/B/C are stopped.


More information about the Alsa-devel mailing list