summaryrefslogtreecommitdiffstats
path: root/servers/audio_server.cpp
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-09-15 08:43:35 +0200
committerGitHub <noreply@github.com>2017-09-15 08:43:35 +0200
commit7dffed485bb6e824335de96bffc79ea58a2de576 (patch)
treec694cc3f02b6aba2651f6cd60af2851e328895cb /servers/audio_server.cpp
parentd3c1f2a7f69a54652a2a07eaca402db2ee489132 (diff)
parent0fffa45158bebeb4aaba1df1d271c000fffbe7f7 (diff)
downloadredot-engine-7dffed485bb6e824335de96bffc79ea58a2de576.tar.gz
Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
Fix enums bindings
Diffstat (limited to 'servers/audio_server.cpp')
-rw-r--r--servers/audio_server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/servers/audio_server.cpp b/servers/audio_server.cpp
index ed62e65846..4b728f821a 100644
--- a/servers/audio_server.cpp
+++ b/servers/audio_server.cpp
@@ -1094,6 +1094,10 @@ void AudioServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("generate_bus_layout"), &AudioServer::generate_bus_layout);
ADD_SIGNAL(MethodInfo("bus_layout_changed"));
+
+ BIND_ENUM_CONSTANT(SPEAKER_MODE_STEREO);
+ BIND_ENUM_CONSTANT(SPEAKER_SURROUND_51);
+ BIND_ENUM_CONSTANT(SPEAKER_SURROUND_71);
}
AudioServer::AudioServer() {