1SND_AC97_PCM_OPEN(9)           Control/Mixer API          SND_AC97_PCM_OPEN(9)
2
3
4

NAME

6       snd_ac97_pcm_open - opens the given AC97 pcm
7

SYNOPSIS

9       int snd_ac97_pcm_open(struct ac97_pcm * pcm, unsigned int rate,
10                             enum ac97_pcm_cfg cfg, unsigned short slots);
11

ARGUMENTS

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

DESCRIPTION

27       It locks the specified slots and sets the given rate to AC97 registers.
28

RETURN

30       Zero if successful, or a negative error code on failure.
31
33Kernel Hackers Manual 3.10         June 2019              SND_AC97_PCM_OPEN(9)
Impressum