int snd_pcm_format_linear(int format);
int snd_pcm_format_linear
Returns one when the format is linear (SND_PCM_SFMT_x8, x16, x24, x32), otherwise it returns an error code.