via_set_rate
Name
via_set_rate -- Set PCM rate for given channel
Synopsis
int via_set_rate (struct ac97_codec * ac97, struct via_channel * chan, unsigned rate);
Arguments
ac97 Pointer to generic codec info struct
chan Private info for specified channel
rate Desired PCM sample rate, in Khz
Description
Sets the PCM sample rate for a channel.
Values for rate are clamped to a range of 4000 Khz through 48000 Khz,
due to hardware constraints.