Skip to content

Commit 2462536

Browse files
committed
Documentation: Add clarification to AudioStream::get_length
1 parent 51b0379 commit 2462536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/AudioStream.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<method name="get_length" qualifiers="const">
9292
<return type="float" />
9393
<description>
94-
Returns the length of the audio stream in seconds.
94+
Returns the length of the audio stream in seconds. If this stream is an [AudioStreamRandomizer], returns the length of the last played stream. If this stream has an indefinite length (such as for [AudioStreamGenerator] and [AudioStreamMicrophone]), returns [code]0.0[/code].
9595
</description>
9696
</method>
9797
<method name="instantiate_playback">

0 commit comments

Comments
 (0)