[Previous] [Contents] [Next]

snd_pcm_format_width()

Get sample width in bits

Synopsis:

#include <sys/asoundlib.h>

int snd_pcm_format_width( int format );

Library:

libasound.so

Description:

The snd_pcm_format_width() function returns the sample width in bits.

Returns:

A positive value on success, or an error code.

Errors:

-EINVAL
Invalid format.

Classification:

ALSA

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

[Previous] [Contents] [Next]