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
RETURN
20The byte size of the given samples for the format, or a negative error
21code if unknown format.
22
COPYRIGHT
24Kernel Hackers Manual 3.10 June 2019 SND_PCM_FORMAT_SIZE(9)