[alsa-devel] ASoC:Question rate constraint between the dais

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Mar 16 20:22:33 CET 2012

On Fri, Mar 16, 2012 at 03:35:18PM +0530, Omair Mohammed Abdullah wrote:

> You are right to say that it is not a machine constraint but a codec
> constraint. The problem is that if a DAI (say the "SN95031 Headset
> DAI") is opened with a 44.1 khz rate, then another DAI (say "SN95031
> Voice") is opened with a 48 khz rate, then we need to reject the
> second open because the codec cannot support both rates at the same
> time.

> Is there any way to do this with constraint_lists? The way it is
> done in the wm8988 driver does not apply here because there it is a
> single DAI.

There's a way to do this, and it's the way that the WM8988 driver is
doing it - obviously you'll have different criteria for choosing
constraints but the actual application of the constraints is going to be
done in the same way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120316/05da74c6/attachment.sig 

More information about the Alsa-devel mailing list