Check the pcm format is signed linear
int snd_pcm_format_signed(snd_pcm_format_t format);
format
the format to check
1 if the given PCM format is signed linear, 0 if unsigned linear, and a negative error code for non-linear formats.