'\" t .\" Title: snd_pcm_format_size .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: PCM API .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_PCM_FORMAT_SIZE" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "PCM API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_pcm_format_size \- return the byte size of samples on the given format .SH "SYNOPSIS" .HP \w'ssize_t\ snd_pcm_format_size('u .BI "ssize_t snd_pcm_format_size(snd_pcm_format_t\ " "format" ", size_t\ " "samples" ");" .SH "ARGUMENTS" .PP \fIformat\fR .RS 4 the format to check .RE .PP \fIsamples\fR .RS 4 sampling rate .RE .SH "RETURN" .PP The byte size of the given samples for the format, or a negative error code if unknown format\&. .SH "COPYRIGHT" .br