Fix enums bindings
Add missed bindings for enums Move some enums to class to have correct output of api.json
This commit is contained in:
parent
69017974be
commit
0fffa45158
62 changed files with 412 additions and 210 deletions
|
|
@ -1081,6 +1081,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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue