[alsa-devel] Why no Marco definitions for rate 24000 and 12000?
Takashi Iwai
tiwai at suse.de
Fri Nov 14 09:39:11 CET 2008
At Fri, 14 Nov 2008 16:32:42 +0800,
cocala wrote:
>
> Who can tell me why not define add SNDRV_PCM_RATE_24000 and
> SNDRV_PCM_RATE_12000?
Just because they are rarely used.
You can add a list of supported sample rates explicitly via
snd_pcm_hw_hw_constraint_list() even if they are not defined in
SNDRV_PCM_RATE_* bits.
Takashi
More information about the Alsa-devel
mailing list