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

Takashi Iwai tiwai at suse.de
Fri Nov 14 10:54:15 CET 2008


At Fri, 14 Nov 2008 17:01:08 +0800,
cocala wrote:
> 
> Yes, that can add supported sample rates.
> 
> 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.


Takashi


More information about the Alsa-devel mailing list