snd_pcm_oss_get_caps
res = snd_pcm_oss_get_caps(pcm_oss_file);
if (snd_pcm_oss_get_caps(pcm_oss_file) & DSP_CAP_DUPLEX)