You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Document AudioStreamPlayer.get_playback_position() intentionally always returning 0.0 when using AudioStreamInteractive
This commit is contained in:
committed by
Johannes Kung
parent
fd4c29a189
commit
3ab88c2e6a
@@ -22,6 +22,7 @@
|
|||||||
<description>
|
<description>
|
||||||
Returns the position in the [AudioStream] of the latest sound, in seconds. Returns [code]0.0[/code] if no sounds are playing.
|
Returns the position in the [AudioStream] of the latest sound, in seconds. Returns [code]0.0[/code] if no sounds are playing.
|
||||||
[b]Note:[/b] The position is not always accurate, as the [AudioServer] does not mix audio every processed frame. To get more accurate results, add [method AudioServer.get_time_since_last_mix] to the returned position.
|
[b]Note:[/b] The position is not always accurate, as the [AudioServer] does not mix audio every processed frame. To get more accurate results, add [method AudioServer.get_time_since_last_mix] to the returned position.
|
||||||
|
[b]Note:[/b] This method always returns [code]0.0[/code] if the [member stream] is an [AudioStreamInteractive], since it can have multiple clips playing at once.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_stream_playback">
|
<method name="get_stream_playback">
|
||||||
|
|||||||
Reference in New Issue
Block a user