Re: [PATCH 05/14] ASoC: Provide core support for symmetric sample rates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 15, 2009 at 09:31:46AM +0300, Peter Ujfalusi wrote:
> On Tuesday 14 April 2009 15:33:04 ext Mark Brown wrote:

> > Many devices require symmetric configurations of capture and playback
> > data formats, often due to shared clocking but sometimes also due to

> Would it make sense to add also the channel count and probably sample_bits as 
> constraint as well here?
> I think the symmetric means that you should not be able to change any of the 
> parameters.

Yes, we should have something for those but they are a bit more complex:
normally with bit clock the restriction is actually that you need to
have at least as many clocks as the format needs but can have more.
This means that rather than an absolute symmetry requirement you end up
setting a reduced maximum for both directions.

The two limits play into each other with DSP mode too: you can have
twice as many channels in the same number of bit clocks if you halve the
sameple size.  For I2S style modes the channel count doesn't tend to be
restricted since you always have the clocks for two channels even if
you're only looking at one.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux