summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2018-12-07 13:38:40 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2018-12-11 19:54:52 -0300
commit792786b4b7e8d1fd4f708178d77537b6811e9be1 (patch)
treeafbe0b83f613dc1a54955fc672df736cd5dd33c2 /doc/classes
parent19f2a188bb305c4a446f63a0b5417086b7261514 (diff)
Fix EditorAudioBuses not updating when changing to a device with different channels
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/AudioServer.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/AudioServer.xml b/doc/classes/AudioServer.xml
index 3ae5454e65..e1939e679d 100644
--- a/doc/classes/AudioServer.xml
+++ b/doc/classes/AudioServer.xml
@@ -61,6 +61,15 @@
Generates an [AudioBusLayout] using the available busses and effects.
</description>
</method>
+ <method name="get_bus_channels" qualifiers="const">
+ <return type="int">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <description>
+ Returns the amount of channels of the bus at index [code]bus_idx[/code].
+ </description>
+ </method>
<method name="get_bus_count" qualifiers="const">
<return type="int">
</return>