snd_pcm_format_width()
Return the sample width in bits for a format
Synopsis:
#include <sys/asoundlib.h> int snd_pcm_format_width( int format );
Since:
BlackBerry 10.0.0
Arguments:
- format
- The format number (one of the SND_PCM_SFMT_* constants). For a list of the supported formats, see snd_pcm_get_format_name().
Description:
The snd_pcm_format_width() function returns the sample width in bits.
Returns:
A positive sample width on success, or a negative error code.
Errors:
- -EINVAL
- Invalid format.
Classification:
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
Last modified: 2014-05-14