From c9195f997f3e797f03ab90464e4158717198a167 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 8 Feb 2026 07:40:29 +0100 Subject: style: Apply clang-format to all source files --- src/audio/synth.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/audio/synth.cc') diff --git a/src/audio/synth.cc b/src/audio/synth.cc index d66c502..e790c12 100644 --- a/src/audio/synth.cc +++ b/src/audio/synth.cc @@ -43,7 +43,7 @@ static struct { static Voice g_voices[MAX_VOICES]; static volatile float g_current_output_peak = - 0.0f; // Global peak for visualization + 0.0f; // Global peak for visualization static float g_tempo_scale = 1.0f; // Playback speed multiplier #if !defined(STRIP_ALL) @@ -201,7 +201,8 @@ void synth_trigger_voice(int spectrogram_id, float volume, float pan, v.buffer_pos = DCT_SIZE; // Force IDCT on first render v.fractional_pos = 0.0f; // Initialize fractional position for tempo scaling - v.start_sample_offset = start_offset_samples; // NEW: Sample-accurate timing + v.start_sample_offset = + start_offset_samples; // NEW: Sample-accurate timing v.active_spectral_data = g_synth_data.active_spectrogram_data[spectrogram_id]; -- cgit v1.2.3