snd_pcm_new — create a new PCM instance
int snd_pcm_new ( | struct snd_card * card, |
| const char * id, | |
| int device, | |
| int playback_count, | |
| int capture_count, | |
struct snd_pcm ** rpcm); |
cardthe card instance
idthe id string
devicethe device index (zero based)
playback_countthe number of substreams for playback
capture_countthe number of substreams for capture
rpcmthe pointer to store the new pcm instance