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

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon May 25 10:06:31 CEST 2015


Hi Vinod

> > 	init          => working:
> > 	start sound A => working: codec + A
> > 	start sound B => working: codec + A/B (mixed)
> > 	stop  sound A => working: codec + B
> > 	start sound C => working: codec + B/C (mixed)
> > 	stop  sound B => working: codec + C
> > 	stop  sound C => working:
> > 
> > I guess current DPCM doesn't support this ?
> it does, you have to declare A, B, C as FE then introduce a digital mixer
> (real or virtual, depending on the system) and the a BE which is your HW DAI
> here and connects to codec
> 
> This works very well and you can start/stop A, B, C independently. Codec
> will be on as along as any of the inputs is On.
> 
> See the sound/soc/intel/atom for reference

Thank you !
I will check it



More information about the Alsa-devel mailing list