summaryrefslogtreecommitdiff
path: root/servers/audio_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/audio_server.h')
-rw-r--r--servers/audio_server.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/servers/audio_server.h b/servers/audio_server.h
index 8df0172750..a1a3dde719 100644
--- a/servers/audio_server.h
+++ b/servers/audio_server.h
@@ -232,14 +232,6 @@ private:
static AudioServer *singleton;
- // TODO create an audiodata pool to optimize memory
-
- Map<void *, uint32_t> audio_data;
- size_t audio_data_total_mem;
- size_t audio_data_max_mem;
-
- Mutex audio_data_lock;
-
void init_channels_and_buffers();
void _mix_step();
@@ -350,12 +342,6 @@ public:
virtual double get_time_to_next_mix() const;
virtual double get_time_since_last_mix() const;
- void *audio_data_alloc(uint32_t p_data_len, const uint8_t *p_from_data = NULL);
- void audio_data_free(void *p_data);
-
- size_t audio_data_get_total_memory_usage() const;
- size_t audio_data_get_max_memory_usage() const;
-
void add_callback(AudioCallback p_callback, void *p_userdata);
void remove_callback(AudioCallback p_callback, void *p_userdata);