[alsa-devel] How to correct params_format on DPCM ?

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Apr 13 02:28:47 CEST 2015


Hi Mark

> > 	format = fe_cpu->formats & fe_codec->formats &
> > 	         be_cpu->formats & be_codec->formats;
> 
> > I guess it is done before hw_param() (?),
> > or snd_soc_instantiate_card() timing. but I couldn't find it.
> > It is very confusable/complex. which function is doing this ?
> 
> My point is that it's not happening and you're going to need to add that
> support.  It's slightly more complex than your picture as most things
> that do DPCM can rewrite the format so we normally don't want to
> constrain with the back end constraints.  Like I said in my eariler
> reply I think we want to change things so that if there's no front end
> constraint we take the back end one instead.

Thank you for your feedback.
I try this idea.

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list