[alsa-devel] Why no Marco definitions for rate 24000 and 12000?

Mark Brown broonie at sirena.org.uk
Fri Nov 14 11:14:26 CET 2008

On Fri, Nov 14, 2008 at 10:54:15AM +0100, Takashi Iwai wrote:
> cocala wrote:

> > but the macro definitions are still needed, actually 12000 and 24000 are
> > supported by most audio codecs.

> Simply pass SNDRV_PCM_RATE_KNOT instead of explicit rate bits.

This is with ASoC - due to the way the core does rate matching it'll
also require the platform side to support SNDDRV_PCM_RATE_KNOT (but
should work otherwise, both drivers will get the chance to define extra

More information about the Alsa-devel mailing list