diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-12-12 13:55:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-12 13:55:21 +0100 |
commit | 4fe5a1dbefaa8bedc14755e84702342d7aea1157 (patch) | |
tree | dd4e7f58e90e875ffeaab7da737fb340f75def03 /servers/audio_server.h | |
parent | ac87560fda1dedabfc42ceaa215ad1f9174bd42b (diff) | |
parent | 792786b4b7e8d1fd4f708178d77537b6811e9be1 (diff) |
Merge pull request #24214 from marcelofg55/editor_audio_buses_fix
Fix EditorAudioBuses not updating when changing to a device with different channels
Diffstat (limited to 'servers/audio_server.h')
-rw-r--r-- | servers/audio_server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/audio_server.h b/servers/audio_server.h index 52fa84e3e6..642af9b252 100644 --- a/servers/audio_server.h +++ b/servers/audio_server.h @@ -299,6 +299,8 @@ public: String get_bus_name(int p_bus) const; int get_bus_index(const StringName &p_bus_name) const; + int get_bus_channels(int p_bus) const; + void set_bus_volume_db(int p_bus, float p_volume_db); float get_bus_volume_db(int p_bus) const; |