ado_pcm_format_bit_width()

Obtain the sample width, in bits, for a given format

Synopsis:

#include <audio_driver.h>

size_t ado_pcm_format_bit_width( int format );

Arguments:

format
The format whose sample width you need to determine.

Description:

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.

Returns:

The bit width of the given format.

Classification:

QNX Neutrino

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