1SND_AC97_PCM_OPEN(9) Control/Mixer API SND_AC97_PCM_OPEN(9)
2
3
4
6 snd_ac97_pcm_open - opens the given AC97 pcm
7
9 int snd_ac97_pcm_open(struct ac97_pcm * pcm, unsigned int rate,
10 enum ac97_pcm_cfg cfg, unsigned short slots);
11
13 pcm
14 the ac97 pcm instance
15
16 rate
17 rate in Hz, if codec does not support VRA, this value must be
18 48000Hz
19
20 cfg
21 output stream characteristics
22
23 slots
24 a subset of allocated slots (snd_ac97_pcm_assign) for this pcm
25
27 It locks the specified slots and sets the given rate to AC97 registers.
28
30Kernel Hackers Manual 2.6. June 2019 SND_AC97_PCM_OPEN(9)