C4 Engine
C4 Engine API Documentation

SoundStreamer::SetSampleRate

Defined in:  C4Sound.h
Sets the audio sampling rate.
Prototype

void SetSampleRate(int32 rate);

Parameters
rate The audio sampling rate, in Hz.
Description
The SetSampleRate function should be called by each subclass of the SoundStreamer class in order to set the audio sampling rate. The value of the rate parameter is expressed in Hertz, and it should be in the range [8000, 48000].
See Also

SoundStreamer::SetChannelCount