SND_PCM_FORMAT_SIZE(9) PCM API SND_PCM_FORMAT_SIZE(9)NAMEsnd_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
DESCRIPTION
Returns the byte size of the given samples for the format, or a
negative error code if unknown format.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 SND_PCM_FORMAT_SIZE(9)