Check the pcm format is big-endian
int snd_pcm_format_big_endian(snd_pcm_format_t format);
format
the format to check
1 if the given PCM format is big-endian, 0 if little-endian, or a negative error code if endian not specified.