From c8a5145a6def2ca5d9dbc3c03a599aaf1766718c Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Fri, 15 Jun 2018 14:13:33 -0300 Subject: [PATCH] Removed unused AudioServer::update function --- main/main.cpp | 3 --- servers/audio_server.cpp | 3 --- servers/audio_server.h | 1 - 3 files changed, 7 deletions(-) diff --git a/main/main.cpp b/main/main.cpp index 119d1ee3456..f719830cbcb 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1815,9 +1815,6 @@ bool Main::iteration() { } } - if (AudioServer::get_singleton()) - AudioServer::get_singleton()->update(); - idle_process_ticks = OS::get_singleton()->get_ticks_usec() - idle_begin; idle_process_max = MAX(idle_process_ticks, idle_process_max); uint64_t frame_time = OS::get_singleton()->get_ticks_usec() - ticks; diff --git a/servers/audio_server.cpp b/servers/audio_server.cpp index b08e41301a5..8ee43ddc32f 100644 --- a/servers/audio_server.cpp +++ b/servers/audio_server.cpp @@ -939,9 +939,6 @@ void AudioServer::finish() { buses.clear(); } -void AudioServer::update() { -} - /* MISC config */ void AudioServer::lock() { diff --git a/servers/audio_server.h b/servers/audio_server.h index af2668b69e3..b7fcd9c093b 100644 --- a/servers/audio_server.h +++ b/servers/audio_server.h @@ -273,7 +273,6 @@ public: virtual void init(); virtual void finish(); - virtual void update(); virtual void load_default_bus_layout(); /* MISC config */