Check for a linear format
#include <sys/asoundlib.h> int snd_pcm_format_linear( int format );
libasound.so
The snd_pcm_format_linear() function checks to see if the format is linear. The supported linear formats are:
For a list of all the supported formats, see snd_pcm_get_format_name().
None.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
snd_pcm_build_linear_format(), snd_pcm_format_big_endian(), snd_pcm_format_little_endian(), snd_pcm_format_signed(), snd_pcm_format_size(), snd_pcm_format_unsigned(), snd_pcm_format_width(), snd_pcm_get_format_name()