AudioStream¶
Inherits: Resource < Reference < Object
Inherited By: AudioStreamGenerator, AudioStreamMicrophone, AudioStreamMP3, AudioStreamOGGVorbis, AudioStreamRandomPitch, AudioStreamSample
Base class for audio streams.
Description¶
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.
Tutorials¶
Methods¶
get_length ( ) const |
Method Descriptions¶
float get_length ( ) const
Returns the length of the audio stream in seconds.