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