[alsa-devel] [PATCH] ASoC: pcm: allow changing the playback/capture rates for symmetric links

Takashi Iwai tiwai at suse.de
Thu Apr 28 13:26:49 CEST 2016


On Thu, 28 Apr 2016 13:10:01 +0200,
Mark Brown wrote:
> 
> On Thu, Apr 28, 2016 at 01:03:22PM +0200, Takashi Iwai wrote:
> > Mark Brown wrote:
> 
> > > Lots of things just don't work with OSS, we stopped caring about it
> > > years ago.  The configuration mechanism just doesn't play nicely with
> > > dynamic constraints at all.
> 
> > True, but looking at the code there, I wonder how only OSS hits.
> > Does ALSA-native API really work as is...?
> 
> We've had the code for years without anyone reporting issues so...  the
> idiomatic ALSA thing is to set everything in one call which helps a lot.

Yes, most of such problems come from the inconsistent hw constraints,
and one-shot configuration helps indeed.  But, in this case, it
appears more like an overlooked case to me.

BTW, this reminds me of another question: don't we have a dummy ASoC
driver like snd-dummy?  It would be convenient for a casual API
testing.


thanks,

Takashi


More information about the Alsa-devel mailing list