Get sample width in bits
#include <sys/asoundlib.h> int snd_pcm_format_width( int format );
libasound.so
The snd_pcm_format_width() function returns the sample width in bits.
A positive value on success, or an error code.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |