---
name: "snd_pcm_rate_bit_to_rate"
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_bit_to_rate"
---

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

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

## NAME

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

## SYNOPSIS

**unsigned int snd\_pcm\_rate\_bit\_to\_rate(unsigned int** *rate\_bit***);**

## ARGUMENTS

*rate\_bit*

the rate bit to convert

## RETURN

The sample rate that corresponds to the given SNDRV\_PCM\_RATE\_xxx flag or 0 for an unknown rate bit.

## COPYRIGHT
