snd_ac97_pcm_assign

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

NAME

snd_ac97_pcm_assign - assign AC97 slots to given PCM streams

SYNOPSIS

int snd_ac97_pcm_assign(struct snd_ac97_bus * bus, unsigned short pcms_count, const struct ac97_pcm * pcms);

ARGUMENTS

bus

the 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.