[alsa-devel] Detecting if a pcm device is a digital or analog one