[alsa-devel] [PATCH 6/6] ASoC: max9867: Use continuous sample rate

Mark Brown broonie at kernel.org
Thu Mar 1 19:22:02 CET 2018


On Thu, Mar 01, 2018 at 03:22:16PM +0100, Ladislav Michl wrote:

>  what is exact meaning of SNDRV_PCM_RATE_CONTINUOUS? What if codec is
>  able to set "any" rate, but there are rounding errors?
>  Shall we pick exact matches based on master clock frequency?
>  Few other drivers are also setting SNDRV_PCM_RATE_CONTINUOUS, but
>  certainly cannot set any rate exactly.

It means being able to set any rate exactly.  Many devices have hardware
which is only specified to work at specific rates but some are more
flexible.  Devices don't need to be able to do this independently, you
can have a flexible external clock tree for example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180301/50495ee6/attachment.sig>


More information about the Alsa-devel mailing list