---
name: "snd_pcm_rate_to_rate_bit"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_pcm_rate_to_rate_bit"
---

# snd\_pcm\_rate\_to\_rate\_bit(9)

converts sample rate to SNDRV\_PCM\_RATE\_xxx bit

## NAME

snd\_pcm\_rate\_to\_rate\_bit - converts sample rate to SNDRV\_PCM\_RATE\_xxx bit

## SYNOPSIS

**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.

## COPYRIGHT
