Query: snd_ac97_pcm_open
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SND_AC97_PCM_OPEN(9) Control/Mixer API SND_AC97_PCM_OPEN(9)NAMEsnd_ac97_pcm_open - opens the given AC97 pcmSYNOPSISint snd_ac97_pcm_open(struct ac97_pcm * pcm, unsigned int rate, enum ac97_pcm_cfg cfg, unsigned short slots);ARGUMENTSpcm the ac97 pcm instance rate rate in Hz, if codec does not support VRA, this value must be 48000Hz cfg output stream characteristics slots a subset of allocated slots (snd_ac97_pcm_assign) for this pcmDESCRIPTIONIt locks the specified slots and sets the given rate to AC97 registers.RETURNZero if successful, or a negative error code on failure.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SND_AC97_PCM_OPEN(9)