Check the pcm format is linear
int snd_pcm_format_linear(snd_pcm_format_t format);
format
the format to check
1 if the given PCM format is linear, 0 if not.