.\" 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_OPEN" "9" "09 October 2005" "" ""
.SH NAME
snd_ac97_pcm_open \- opens the given AC97 pcm
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_ac97_pcm_open (struct ac97_pcm * \fIpcm\fB, unsigned int \fIrate\fB, enum ac97_pcm_cfg \fIcfg\fB, unsigned short \fIslots\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpcm\fB\fR
the ac97 pcm instance
.TP
\fB\fIrate\fB\fR
rate in Hz, if codec does not support VRA, this value must be 48000Hz
.TP
\fB\fIcfg\fB\fR
output stream characteristics
.TP
\fB\fIslots\fB\fR
a subset of allocated slots (snd_ac97_pcm_assign) for this pcm
.SH "DESCRIPTION"
.PP
It locks the specified slots and sets the given rate to AC97 registers.