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
RETURN
17The SNDRV_PCM_RATE_xxx flag that corresponds to the given rate, or
18SNDRV_PCM_RATE_KNOT for an unknown rate.
19
COPYRIGHT
21Kernel Hackers Manual 3.10 June 2019 SND_PCM_RATE_TO_RATE(9)