summaryrefslogtreecommitdiff
path: root/servers/audio_server.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-21 00:08:05 +0200
committerGitHub <noreply@github.com>2018-08-21 00:08:05 +0200
commit35d232b10018899261253aa13249fae58d08be9d (patch)
treee697b2c3b071d8e1f78d7a885a5378c179ca13bf /servers/audio_server.cpp
parent6b6e3bdce831417a3bec0e59571adf5efceda1f1 (diff)
parent76adef27042b5185ab8a1db991cfff8ab872b928 (diff)
Merge pull request #21228 from Noshyaar/docs-bind
Fix arg name in docs, some copy-paste errors
Diffstat (limited to 'servers/audio_server.cpp')
-rw-r--r--servers/audio_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/audio_server.cpp b/servers/audio_server.cpp
index f3934e5c01..b737f4681d 100644
--- a/servers/audio_server.cpp
+++ b/servers/audio_server.cpp
@@ -1281,11 +1281,11 @@ void AudioServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_mix_rate"), &AudioServer::get_mix_rate);
ClassDB::bind_method(D_METHOD("get_device_list"), &AudioServer::get_device_list);
ClassDB::bind_method(D_METHOD("get_device"), &AudioServer::get_device);
- ClassDB::bind_method(D_METHOD("set_device"), &AudioServer::set_device);
+ ClassDB::bind_method(D_METHOD("set_device", "device"), &AudioServer::set_device);
ClassDB::bind_method(D_METHOD("capture_get_device_list"), &AudioServer::capture_get_device_list);
ClassDB::bind_method(D_METHOD("capture_get_device"), &AudioServer::capture_get_device);
- ClassDB::bind_method(D_METHOD("capture_set_device"), &AudioServer::capture_set_device);
+ ClassDB::bind_method(D_METHOD("capture_set_device", "name"), &AudioServer::capture_set_device);
ClassDB::bind_method(D_METHOD("set_bus_layout", "bus_layout"), &AudioServer::set_bus_layout);
ClassDB::bind_method(D_METHOD("generate_bus_layout"), &AudioServer::generate_bus_layout);