Query: snd_pcm_new
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SND_PCM_NEW(9) Sound Devices SND_PCM_NEW(9)NAMEsnd_pcm_new - create a new PCM instanceSYNOPSISint snd_pcm_new(struct snd_card * card, const char * id, int device, int playback_count, int capture_count, struct snd_pcm ** rpcm);ARGUMENTScard the card instance id the id string device the device index (zero based) playback_count the number of substreams for playback capture_count the number of substreams for capture rpcm the pointer to store the new pcm instanceDESCRIPTIONCreates a new PCM instance. The pcm operators have to be set afterwards to the new instance via snd_pcm_set_ops. Returns zero if successful, or a negative error code on failure.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SND_PCM_NEW(9)