Base class for audio streams.
Base class for audio streams. Audio streams are used for sound effects and music playback, and support WAV (via [AudioStreamWAV]) and Ogg (via [AudioStreamOggVorbis]) file formats.
$DOCS_URL/tutorials/audio/audio_streams.html https://godotengine.org/asset-library/asset/526 https://godotengine.org/asset-library/asset/527 https://godotengine.org/asset-library/asset/528
Returns the length of the audio stream in seconds.
Returns an AudioStreamPlayback. Useful for when you want to extend [method _instantiate_playback] but call [method instantiate_playback] from an internally held AudioStream subresource. An example of this can be found in the source files for [code]AudioStreamRandomPitch::instantiate_playback[/code].
Returns true if this audio stream only supports monophonic playback, or false if the audio stream supports polyphony.