Class StreamingAudioSource¶
Defined in File audio_source.h
Inheritance Relationships¶
Base Type¶
public AudioSource
(Class AudioSource)
Class Documentation¶
-
class
StreamingAudioSource
: public AudioSource¶ An audio source that uses StreamingAudioBuffer.
Public Functions
-
StreamingAudioSource
(Ref<StreamingAudioBuffer> audio)¶
-
~StreamingAudioSource
()¶
-
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.
-