aboutsummaryrefslogtreecommitdiff
path: root/servers/audio_server.h
diff options
context:
space:
mode:
authorMarcelo Fernandez2018-03-17 22:43:32 -0300
committerMarcelo Fernandez2018-03-19 09:00:11 -0300
commit87ebdd60416f953181e2ce93286f97a9c233fa49 (patch)
tree4c87fffda1f2c1649a1132d4d83c9a38ebc3aa4c /servers/audio_server.h
parent760b0567a668c927820101d057ea8b4218943438 (diff)
downloadgodot-87ebdd60416f953181e2ce93286f97a9c233fa49.tar.gz
godot-87ebdd60416f953181e2ce93286f97a9c233fa49.tar.zst
godot-87ebdd60416f953181e2ce93286f97a9c233fa49.zip
Diffstat (limited to 'servers/audio_server.h')
-rw-r--r--servers/audio_server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/audio_server.h b/servers/audio_server.h
index 188d38db9..a8be48b4c 100644
--- a/servers/audio_server.h
+++ b/servers/audio_server.h
@@ -130,6 +130,7 @@ private:
float channel_disable_threshold_db;
uint32_t channel_disable_frames;
+ int channel_count;
int to_mix;
struct Bus {
@@ -186,6 +187,8 @@ private:
Mutex *audio_data_lock;
+ void init_channels_and_buffers();
+
void _mix_step();
struct CallbackItem {