summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-06-12 17:10:52 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-06-12 17:10:52 +0200
commit7b1387ff218cd86be77dd7e774542e54251e7ea6 (patch)
tree096b4df3a5e4d3cd192051aaa78900bf6c8dc194
parente208cdb17001049372335026aeb436ee9dc1f8d2 (diff)
parent32be4b407dffd4cbc66605fa324103364e3a3cf8 (diff)
downloadredot-engine-7b1387ff218cd86be77dd7e774542e54251e7ea6.tar.gz
Merge pull request #78139 from winston-yallow/document-audio-bus-index-from-name
Document behaviour of AudioServer.get_bus_index() if name doesn't exist
-rw-r--r--doc/classes/AudioServer.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/AudioServer.xml b/doc/classes/AudioServer.xml
index b2c60fa63a..d13511ee1c 100644
--- a/doc/classes/AudioServer.xml
+++ b/doc/classes/AudioServer.xml
@@ -70,7 +70,7 @@
<return type="int" />
<param index="0" name="bus_name" type="StringName" />
<description>
- Returns the index of the bus with the name [param bus_name].
+ Returns the index of the bus with the name [param bus_name]. Returns [code]-1[/code] if no bus with the specified name exist.
</description>
</method>
<method name="get_bus_name" qualifiers="const">