snd_pcm_format_width

Name

snd_pcm_format_width -- obtain sample width in bits

Synopsis

int snd_pcm_format_width(int format);

Description

Returns sample width in bits. Function returns positive value if successful, otherwise it returns an error code.