SoundStreamer::SetSampleRate
Defined in:
Sets the audio sampling rate.
C4Sound.h
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