Obtain the sample width, in bits, for a given format
#include <audio_driver.h> size_t ado_pcm_format_bit_width( int format );
The ado_pcm_format_bit_width() function returns the sample width in bits for the given format. For example, SND_PCM_FMT_S16 returns 16.
The bit width of the given format.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |