other versions
- jessie 3.16.56-1+deb8u1
SND_AC97_PCM_ASSIGN(9) | Control/Mixer API | SND_AC97_PCM_ASSIGN(9) |
NAME¶
snd_ac97_pcm_assign - assign AC97 slots to given PCM streamsSYNOPSIS¶
int
snd_ac97_pcm_assign(struct snd_ac97_bus * bus,
unsigned short pcms_count,
const struct ac97_pcm * pcms);
ARGUMENTS¶
busthe ac97 bus instance
pcms_count
count of PCMs to be assigned
pcms
PCMs to be assigned
DESCRIPTION¶
It assigns available AC97 slots for given PCMs. If none or only some slots are available, pcm->xxx.slots and pcm->xxx.rslots[] members are reduced and might be zero.RETURN¶
Zero if successful, or a negative error code on failure.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |