snd_pcm_open_subdevice

Name

snd_pcm_open_subdevice -- open a PCM subdevice

Synopsis

int snd_pcm_open_subdevice(snd_pcm_t **handle, int card, int device, int subdevice, int mode);

Description

This function is similar to snd_pcm_open function except that the opened subdevice is requested. If subdevice is not available, the kernel code returns -EBUSY.