AudioStream

Inherits: Resource < Reference < Object

Inherited By: AudioStreamMicrophone, AudioStreamOGGVorbis, AudioStreamRandomPitch, AudioStreamSample

Category: Core

Brief Description

Base class for audio streams.

Methods

float get_length ( ) const

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

Method Descriptions

  • float get_length ( ) const

Returns the length of the audio stream in seconds.