snd_pcm_format_size(9)

snd_pcm_format_size9

Return the byte size of samples on the given format

Usage

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.

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.