summaryrefslogtreecommitdiff
path: root/servers/audio_server.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-11-13 18:16:33 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-11-13 18:17:19 -0300
commit65111ba99699a400be1d26ef54ae5580377caabf (patch)
tree30b7b6ad7594b4850f73222e595fac2d0b1282cc /servers/audio_server.h
parent5613aa489e754db3645dfe1215572b78be7e8bd4 (diff)
Ability to remove buses while they are being used on 2D and 3D stream players. Fixes #15115
Diffstat (limited to 'servers/audio_server.h')
-rw-r--r--servers/audio_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/audio_server.h b/servers/audio_server.h
index b12ca6e589..52fa84e3e6 100644
--- a/servers/audio_server.h
+++ b/servers/audio_server.h
@@ -282,6 +282,7 @@ public:
}
//do not use from outside audio thread
+ bool thread_has_channel_mix_buffer(int p_bus, int p_buffer) const;
AudioFrame *thread_get_channel_mix_buffer(int p_bus, int p_buffer);
int thread_get_mix_buffer_size() const;
int thread_find_bus_index(const StringName &p_name);