From 11fb4ffbf80829df13b091b738d6c5092d589a33 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 27 Apr 2019 14:11:39 -0300 Subject: [PATCH] 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(+) diff --git a/doc/classes/AudioServer.xml b/doc/classes/AudioServer.xml index 83fbd281525..6dc1600cf27 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 c6ec45f15e8..07d7c875db3 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 a3acc2c6599..05774635b8a 100644 --- a/doc/classes/TranslationServer.xml +++ b/doc/classes/TranslationServer.xml @@ -27,6 +27,12 @@ Clears the server from all translations. + + + + + +