[alsa-devel] [PATCH 2/2] ASoC: pcm: Always honor DAI min and max sample rate constraints

Lars-Peter Clausen lars at metafoo.de
Wed Nov 27 16:01:48 CET 2013


On 11/27/2013 03:49 PM, Mark Brown wrote:
[...]
>> I think Lars' fix will handle such a case nicely now; at least,
>> merging between RATE bits and rate_min/max is solved, as long as the
>> given conditions are consistent.
> 
> Yes, it should work for the time being.  It just seems silly to have
> more than one set of merging code, it just increases the chances we'll
> get stuff wrong - switching to use the core constraint merging code
> should avoid the possibility of such errors in future.

There isn't such code in the ALSA core yet, but I guess it makes sense to
add it.

- Lars



More information about the Alsa-devel mailing list