1SND_PCM_RATE_TO_RATE(9) PCM API SND_PCM_RATE_TO_RATE(9)
23
4
NAME
6snd_pcm_rate_to_rate_bit - converts sample rate to SNDRV_PCM_RATE_xxx
7bit
8
SYNOPSIS
10unsigned int snd_pcm_rate_to_rate_bit(unsigned int rate);
11
ARGUMENTS
13rate
14the sample rate to convert
15
DESCRIPTION
17Returns the SNDRV_PCM_RATE_xxx flag that corresponds to the given rate,
18or SNDRV_PCM_RATE_KNOT for an unknown rate.
19
COPYRIGHT
21Kernel Hackers Manual 2.6. June 2019 SND_PCM_RATE_TO_RATE(9)