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