snd_pcm_rate_to_rate_bit(9)

snd_pcm_rate_to_rate_bit9

Converts sample rate to sndrv_pcm_rate_xxx bit

Usage

unsigned int snd_pcm_rate_to_rate_bit(unsigned int rate);

Arguments

rate

the sample rate to convert

Return

The SNDRV_PCM_RATE_xxx flag that corresponds to the given rate, or SNDRV_PCM_RATE_KNOT for an unknown rate.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.