From 3af9f70bec1f50c980288e2213035693f4b737ce Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 31 Jan 2026 01:01:56 +0100 Subject: Chore: Add missing newlines at end of source files --- src/audio/audio.cc | 2 +- src/audio/audio.h | 2 +- src/audio/fdct.cc | 2 +- src/audio/gen.cc | 2 +- src/audio/idct.cc | 2 +- src/audio/synth.cc | 2 +- src/audio/synth.h | 2 +- src/audio/window.cc | 2 +- src/audio/window.h | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/audio') diff --git a/src/audio/audio.cc b/src/audio/audio.cc index abdd2aa..7f8511b 100644 --- a/src/audio/audio.cc +++ b/src/audio/audio.cc @@ -46,4 +46,4 @@ void audio_shutdown() { ma_device_stop(&g_device); ma_device_uninit(&g_device); synth_shutdown(); -} \ No newline at end of file +} diff --git a/src/audio/audio.h b/src/audio/audio.h index d34ff5e..dd43d97 100644 --- a/src/audio/audio.h +++ b/src/audio/audio.h @@ -6,4 +6,4 @@ void audio_init(); void audio_update(); -void audio_shutdown(); \ No newline at end of file +void audio_shutdown(); diff --git a/src/audio/fdct.cc b/src/audio/fdct.cc index 620fc37..3541e9c 100644 --- a/src/audio/fdct.cc +++ b/src/audio/fdct.cc @@ -15,4 +15,4 @@ void fdct_512(const float *input, float *output) { } output[k] = sum; } -} \ No newline at end of file +} diff --git a/src/audio/gen.cc b/src/audio/gen.cc index 8d594f2..1a94b22 100644 --- a/src/audio/gen.cc +++ b/src/audio/gen.cc @@ -135,4 +135,4 @@ void apply_spectral_comb(std::vector &data, int num_frames, data[f * DCT_SIZE + i] *= mod; } } -} \ No newline at end of file +} diff --git a/src/audio/idct.cc b/src/audio/idct.cc index 3ab4611..6235950 100644 --- a/src/audio/idct.cc +++ b/src/audio/idct.cc @@ -15,4 +15,4 @@ void idct_512(const float *input, float *output) { } output[n] = sum * (2.0f / (float)DCT_SIZE); } -} \ No newline at end of file +} diff --git a/src/audio/synth.cc b/src/audio/synth.cc index 02d7133..523d3d7 100644 --- a/src/audio/synth.cc +++ b/src/audio/synth.cc @@ -202,4 +202,4 @@ int synth_get_active_voice_count() { float synth_get_output_peak() { return g_current_output_peak; -} \ No newline at end of file +} diff --git a/src/audio/synth.h b/src/audio/synth.h index 9000891..45a9410 100644 --- a/src/audio/synth.h +++ b/src/audio/synth.h @@ -31,4 +31,4 @@ void synth_trigger_voice(int spectrogram_id, float volume, float pan); void synth_render(float *output_buffer, int num_frames); int synth_get_active_voice_count(); -float synth_get_output_peak(); \ No newline at end of file +float synth_get_output_peak(); diff --git a/src/audio/window.cc b/src/audio/window.cc index 6edde0c..e5dfdec 100644 --- a/src/audio/window.cc +++ b/src/audio/window.cc @@ -11,4 +11,4 @@ void hamming_window_512(float *window) { window[i] = 0.54f - 0.46f * cosf(2.0f * PI * (float)i / (float)(WINDOW_SIZE - 1)); } -} \ No newline at end of file +} diff --git a/src/audio/window.h b/src/audio/window.h index 6196164..99ac209 100644 --- a/src/audio/window.h +++ b/src/audio/window.h @@ -6,4 +6,4 @@ #define WINDOW_SIZE 512 -void hamming_window_512(float *window); \ No newline at end of file +void hamming_window_512(float *window); -- cgit v1.2.3