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

Mark Brown broonie at kernel.org
Wed May 20 20:13:06 CEST 2015


On Wed, May 20, 2015 at 05:20:06AM +0000, Kuninori Morimoto wrote:

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

You mean in DPCM rather than a plain CODEC?  

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

I *think* at least the Intel systems do this already.

> 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.

If you connect multiple front ends to one back end this should work
(with DAPM routes and so on).  If it doesn't work then that's something
that should work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150520/af746300/attachment.sig>


More information about the Alsa-devel mailing list