Facebook Twitter YouTube

class SoundStreamer

Defined in:  TSSound.h
The base class for all sound streamer objects.
Definition

class SoundStreamer

Member Functions
SoundStreamer::SetChannelCount Sets the number of audio channels.
SoundStreamer::SetSampleRate Sets the audio sampling rate.
SoundStreamer::GetWorkBufferSize Returns the size of the work buffer.
SoundStreamer::GetWorkBuffer Returns a pointer to the work buffer.
SoundStreamer::AllocateStreamMemory Allocates memory for use by the streamer object.
SoundStreamer::GetStreamFrameCount Called to retrieve the total frame count for a stream.
SoundStreamer::StartStream Called to prepare a stream for playing.
SoundStreamer::StartStreamComponent Called when a stream is looped.
SoundStreamer::FillBuffer Called when audio data is needed.
Constructor

SoundStreamer();

Description
The SoundStreamer class is the base class for all sound streamer objects. A sound stream is established by instantiating a subclass of SoundStreamer and then passing it to the Sound::StreamSound function.
See Also

AudioStreamer

Sound::StreamSound

Wiki Articles

Sound