From 11fb4ffbf80829df13b091b738d6c5092d589a33 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 27 Apr 2019 14:11:39 -0300 Subject: Added docs to AudioStreamPlayer for get_mix_time --- doc/classes/AudioServer.xml | 18 ++++++++++++++++++ doc/classes/AudioStreamPlayer.xml | 9 +++++++++ doc/classes/TranslationServer.xml | 6 ++++++ 3 files changed, 33 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/AudioServer.xml b/doc/classes/AudioServer.xml index 83fbd28152..6dc1600cf2 100644 --- a/doc/classes/AudioServer.xml +++ b/doc/classes/AudioServer.xml @@ -184,6 +184,12 @@ Returns the sample rate at the output of the audioserver. + + + + + + @@ -191,6 +197,18 @@ Returns the speaker configuration. + + + + + + + + + + + + diff --git a/doc/classes/AudioStreamPlayer.xml b/doc/classes/AudioStreamPlayer.xml index c6ec45f15e..07d7c875db 100644 --- a/doc/classes/AudioStreamPlayer.xml +++ b/doc/classes/AudioStreamPlayer.xml @@ -10,6 +10,15 @@ https://docs.godotengine.org/en/latest/tutorials/audio/audio_streams.html + + + + + Returns the actual amount of time this stream player was mixing since play() was pressed. + To know the exact position this song is mixing right now, add the value to [method AudioServer.get_time_since_last_mix]. + Also consider substracting [method AudioServer.get_output_latency] to that result. + + diff --git a/doc/classes/TranslationServer.xml b/doc/classes/TranslationServer.xml index a3acc2c659..05774635b8 100644 --- a/doc/classes/TranslationServer.xml +++ b/doc/classes/TranslationServer.xml @@ -27,6 +27,12 @@ Clears the server from all translations. + + + + + + -- cgit v1.2.3