snd_pcm_format_little_endian(9) Check the PCM format is little-endian

SYNOPSIS

int snd_pcm_format_little_endian(snd_pcm_format_t format);

ARGUMENTS

format

the format to check

RETURN

1 if the given PCM format is little-endian, 0 if big-endian, or a negative error code if endian not specified.

COPYRIGHT