Merge pull request #107420 from JulianHeuser/audiostream_doc_update

Documentation: Add clarification to `AudioStream.get_length`
This commit is contained in:
Rémi Verschelde 2025-06-12 23:32:55 +02:00
commit 4261cc07a5
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -91,7 +91,7 @@
<method name="get_length" qualifiers="const"> <method name="get_length" qualifiers="const">
<return type="float" /> <return type="float" />
<description> <description>
Returns the length of the audio stream in seconds. 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].
</description> </description>
</method> </method>
<method name="instantiate_playback"> <method name="instantiate_playback">