---
name: "bytes_to_samples"
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/bytes_to_samples"
---

# bytes\_to\_samples(9)

Unit conversion of the size from bytes to samples

## NAME

bytes\_to\_samples - Unit conversion of the size from bytes to samples

## SYNOPSIS

**ssize\_t bytes\_to\_samples(struct snd\_pcm\_runtime \*** *runtime***, ssize\_t** *size***);**

## ARGUMENTS

*runtime*

PCM runtime instance

*size*

size in bytes

## COPYRIGHT
