[alsa-devel] [PATCH] ALSA: core: update supported sample rates
Clemens Ladisch
clemens at ladisch.de
Fri Dec 2 08:36:22 CET 2016
Li Xu wrote:
> Add 12KHz, 24KHz, 352.8KHz and 384KHz audio sample rates
>
> +#define SNDRV_PCM_RATE_12000 (1<<3) /* 12000Hz */
> +#define SNDRV_PCM_RATE_24000 (1<<6) /* 24000Hz */
> +#define SNDRV_PCM_RATE_352800 (1<<15) /* 352800Hz */
> +#define SNDRV_PCM_RATE_384000 (1<<16) /* 384000Hz */
To quote <http://mailman.alsa-project.org/pipermail/alsa-devel/2013-July/064461.html>:
You don't need such symbols to use a rate. These symbols are intended
for often-used rates. As long as only one or two drivers use a rate,
they can just set KNOT and install a constraint.
How many driver would actually use it?
Regards,
Clemens
More information about the Alsa-devel
mailing list