AudioStream

Inherits: Resource < Reference < Object

Inherited By: AudioStreamMicrophone, AudioStreamSample, AudioStreamRandomPitch, AudioStreamOGGVorbis

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 music playback, or other types of streamed sounds that don’t fit or require more flexibility than a Sample.

Tutorials

Method Descriptions

  • float get_length ( ) const

Returns the length of the audio stream in seconds.