Inherits: Resource < Reference < Object

Inherited By: AudioStreamGenerator, AudioStreamMP3, AudioStreamMicrophone, AudioStreamOGGVorbis, AudioStreamRandomPitch, AudioStreamSample

Base class for audio streams.


Base class for audio streams. Audio streams are used for sound effects and music playback, and support WAV (via AudioStreamSample) and OGG (via AudioStreamOGGVorbis) file formats.


float get_length ( ) const

Method Descriptions

  • float get_length ( ) const

Returns the length of the audio stream in seconds.