snd_pcm_build_linear_format

Name

snd_pcm_build_linear_format --  return the suitable linear format for the given condition

Synopsis

snd_pcm_format_t snd_pcm_build_linear_format (int width, int unsignd, int big_endian);

Arguments

width

the bit-width

unsignd

1 if unsigned, 0 if signed.

big_endian

1 if big-endian, 0 if little-endian

Description

Returns the suitable linear format for the given condition.