Class StreamingAudioSource

Inheritance Relationships

Base Type

Class Documentation

class StreamingAudioSource : public AudioSource

An audio source that uses StreamingAudioBuffer.

Public Functions

StreamingAudioSource(Ref<StreamingAudioBuffer> audio)
bool isLooping() const
void setLooping(bool enabled)
void queueNewBuffers()

Queue new buffers to the audio card if possible.

void unqueueBuffers()
virtual float getDuration() const

Get audio duration in seconds.