1SND_PCM_FORMAT_SIZE(9) PCM API SND_PCM_FORMAT_SIZE(9)
23
4
NAME
6snd_pcm_format_size - return the byte size of samples on the given
7format
8
SYNOPSIS
10ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
11
ARGUMENTS
13format
14the format to check
1516
samples
17sampling rate
18
DESCRIPTION
20Returns the byte size of the given samples for the format, or a
21negative error code if unknown format.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. November 2011 SND_PCM_FORMAT_SIZE(9)