ALSA Library Reference Manual
NANE
ssize_t
snd_pcm_format_size
(int format, size_t samples);
DESCRIPTION
フォーマットとサンプル数から、実際のデータサイズ(バイト数)を返す。