[alsa-devel] How do I tell ALSA that my driver supports every possible sample rate?

Liam Girdwood lg at opensource.wolfsonmicro.com
Mon Jul 23 18:39:47 CEST 2007


On Mon, 2007-07-23 at 10:54 -0500, Timur Tabi wrote:
> I'm building an ASOC driver, and I want to tell ALSA that my PCM and my I2S drivers 
> support every possible sample rate, because it's the codec that determines the real 
> limitations.  What SNDRV_PCM_RATE_xxx bit-pattern do I specify that will always match?
> 

If your lucky enough to have this hardware, I think I would probably set
the I2S and DMA rates as SNDRV_PCM_RATE_8000_192000.

Liam



More information about the Alsa-devel mailing list