Check for little-endian format
#include <sys/asoundlib.h> ssize_t snd_pcm_format_little_endian( int format );
libasound.so
The snd_pcm_format_little_endian() function checks to see if the format is little-endian.
Otherwise, it returns an error code.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |