---
name: "snd_pcm_format_size"
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_format_size"
---

# snd\_pcm\_format\_size(9)

return the byte size of samples on the given format

## NAME

snd\_pcm\_format\_size - return the byte size of samples on the given format

## SYNOPSIS

**ssize\_t snd\_pcm\_format\_size(snd\_pcm\_format\_t** *format***, size\_t** *samples***);**

## ARGUMENTS

*format*

the format to check

*samples*

sampling rate

## RETURN

The byte size of the given samples for the format, or a negative error code if unknown format.

## COPYRIGHT
