.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SND_AC97_PCM_ASSIGN" "9" "09 October 2005" "" ""
.SH NAME
snd_ac97_pcm_assign \- assign AC97 slots to given PCM streams
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_ac97_pcm_assign (ac97_bus_t * \fIbus\fB, unsigned short \fIpcms_count\fB, const struct ac97_pcm * \fIpcms\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIbus\fB\fR
the ac97 bus instance
.TP
\fB\fIpcms_count\fB\fR
count of PCMs to be assigned
.TP
\fB\fIpcms\fB\fR
PCMs to be assigned
.SH "DESCRIPTION"
.PP
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.