summaryrefslogtreecommitdiffstats
path: root/doc/classes/AudioServer.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/AudioServer.xml')
-rw-r--r--doc/classes/AudioServer.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/classes/AudioServer.xml b/doc/classes/AudioServer.xml
index 6830c632cf..5def0e7baf 100644
--- a/doc/classes/AudioServer.xml
+++ b/doc/classes/AudioServer.xml
@@ -110,6 +110,12 @@
Returns the volume of the bus at index [param bus_idx] in dB.
</description>
</method>
+ <method name="get_driver_name" qualifiers="const">
+ <return type="String" />
+ <description>
+ Returns the name of the current audio driver. The default usually depends on the operating system, but may be overridden via the [code]--audio-driver[/code] [url=$DOCS_URL/tutorials/editor/command_line_tutorial.html]command line argument[/url]. [code]--headless[/code] also automatically sets the audio driver to [code]Dummy[/code]. See also [member ProjectSettings.audio/driver/driver].
+ </description>
+ </method>
<method name="get_input_device_list">
<return type="PackedStringArray" />
<description>
@@ -117,6 +123,12 @@
[b]Note:[/b] [member ProjectSettings.audio/driver/enable_input] must be [code]true[/code] for audio input to work. See also that setting's description for caveats related to permissions and operating system privacy settings.
</description>
</method>
+ <method name="get_input_mix_rate" qualifiers="const">
+ <return type="float" />
+ <description>
+ Returns the sample rate at the input of the [AudioServer].
+ </description>
+ </method>
<method name="get_mix_rate" qualifiers="const">
<return type="float" />
<description>