2017-09-13 04:42:36 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 09:03:48 +08:00
<class name= "AudioStream" inherits= "Resource" version= "4.0" >
2017-09-13 04:42:36 +08:00
<brief_description >
Base class for audio streams.
</brief_description>
<description >
2019-01-07 17:02:04 +08:00
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.
2017-09-13 04:42:36 +08:00
</description>
<tutorials >
2020-08-05 20:43:40 +08:00
<link title= "Audio streams" > https://docs.godotengine.org/en/latest/tutorials/audio/audio_streams.html</link>
2017-09-13 04:42:36 +08:00
</tutorials>
<methods >
2018-02-19 17:47:16 +08:00
<method name= "get_length" qualifiers= "const" >
<return type= "float" >
</return>
<description >
2018-08-01 03:20:27 +08:00
Returns the length of the audio stream in seconds.
2018-02-19 17:47:16 +08:00
</description>
</method>
2017-09-13 04:42:36 +08:00
</methods>
<constants >
</constants>
</class>