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

View File

@@ -91,7 +91,7 @@
<method name="get_length" qualifiers="const">
<return type="float" />
<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>
</method>
<method name="instantiate_playback">