[alsa-devel] [PATCH] ASoC: Fix check for symmetric rate enforcement

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Aug 17 09:21:27 CEST 2011

On Wed, Aug 17, 2011 at 09:11:23AM +0200, Sascha Hauer wrote:
> On Wed, Aug 17, 2011 at 03:50:16PM +0900, Mark Brown wrote:

> > start the streams - I seem to recall the code works this way semi
> > deliberately so that we always have a rate selected; most systems only
> > ever use one rate on symmetric audio interfaces.

> I looked into it yesterday and I found no way to fix this properly :(

Yeah, it's just a fundamental API think which applications would need to
code around - they need to restart their config process if they fail to
set the params rather than treating a failure as a failure.

> With my patch applied we get the "Not enforcing symmetric rates.."
> warning each time with arecord | aplay which is not nice either.

Indeed.  We have a window where we know there's two users but don't know
what configurations they want to use.

More information about the Alsa-devel mailing list