diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-16 15:30:27 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-16 15:30:27 +0100 |
| commit | 6ac4fa8fb8c045232575036f4a140b9a0ec1995a (patch) | |
| tree | fb32a32050ea024acda17fa7804fd762c57fe977 | |
| parent | 988422ed8ba4a3f96081aeeb722b9832716d61af (diff) | |
refactor: remove empty audio_update() function
Function had no implementation and served no purpose. Removed declaration, definition, and all call sites.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
| -rw-r--r-- | src/app/main.cc | 4 | ||||
| -rw-r--r-- | src/app/test_demo.cc | 4 | ||||
| -rw-r--r-- | src/audio/audio.cc | 3 | ||||
| -rw-r--r-- | src/audio/audio.h | 1 |
4 files changed, 0 insertions, 12 deletions
diff --git a/src/app/main.cc b/src/app/main.cc index 7496e8c..eefec03 100644 --- a/src/app/main.cc +++ b/src/app/main.cc @@ -417,10 +417,6 @@ int main(int argc, char** argv) { RenderTimeline(gpu_get_surface(), (float)current_physical_time, width, height, absolute_beat_time, visual_peak); last_frame_time = current_physical_time; - - // Update audio systems (tracker, synth, etc.) based on audio time - // progression - audio_update(); } #if !defined(STRIP_ALL) && defined(DEMO_HEADLESS) diff --git a/src/app/test_demo.cc b/src/app/test_demo.cc index 993ceba..cf1a577 100644 --- a/src/app/test_demo.cc +++ b/src/app/test_demo.cc @@ -399,10 +399,6 @@ int main(int argc, char** argv) { const float graphics_frame_time = (float)current_physical_time; RenderTimeline(gpu_get_surface(), graphics_frame_time, width, height, absolute_beat_time, visual_peak); - - // Update audio systems (tracker, synth, etc.) based on audio time - // progression - audio_update(); } // Shutdown diff --git a/src/audio/audio.cc b/src/audio/audio.cc index b60dad0..9a6d689 100644 --- a/src/audio/audio.cc +++ b/src/audio/audio.cc @@ -297,9 +297,6 @@ void audio_render_silent(float duration_sec) { } #endif /* !defined(STRIP_ALL) */ -void audio_update() { -} - void audio_shutdown() { if (g_audio_backend != nullptr) { g_audio_backend->shutdown(); diff --git a/src/audio/audio.h b/src/audio/audio.h index 97a8c99..6abdfb2 100644 --- a/src/audio/audio.h +++ b/src/audio/audio.h @@ -56,5 +56,4 @@ void audio_render_silent(float duration_sec); // Fast-forwards audio state void audio_set_backend(AudioBackend* backend); AudioBackend* audio_get_backend(); #endif /* !defined(STRIP_ALL) */ -void audio_update(); void audio_shutdown(); |
