.\" 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 "VIA_SET_RATE" "9" "09 October 2005" "" ""
.SH NAME
via_set_rate \- Set PCM rate for given channel
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int via_set_rate (struct ac97_codec * \fIac97\fB, struct via_channel * \fIchan\fB, unsigned \fIrate\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIac97\fB\fR
Pointer to generic codec info struct
.TP
\fB\fIchan\fB\fR
Private info for specified channel
.TP
\fB\fIrate\fB\fR
Desired PCM sample rate, in Khz
.SH "DESCRIPTION"
.PP
Sets the PCM sample rate for a channel.
.PP
Values for \fIrate\fR are clamped to a range of 4000 Khz through 48000 Khz,
due to hardware constraints.