diff options
| author | skal <pascal.massimino@gmail.com> | 2026-03-05 22:55:56 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-03-05 22:55:56 +0100 |
| commit | 34afbd6ca21d2b960573d787e6eae46fa86b200e (patch) | |
| tree | 08450aeff4c67fb300428e705910265e6cd59943 /src/audio/synth.cc | |
| parent | 35c9ebb0a7ce0e726f631a2b04bb26098926cfab (diff) | |
style: run clang-format to adhere to coding style
Diffstat (limited to 'src/audio/synth.cc')
| -rw-r--r-- | src/audio/synth.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio/synth.cc b/src/audio/synth.cc index 3212e0b..0866bda 100644 --- a/src/audio/synth.cc +++ b/src/audio/synth.cc @@ -204,7 +204,8 @@ void synth_trigger_voice(int spectrogram_id, float volume, float pan, g_synth_data.spectrograms[spectrogram_id].num_frames; v.ola_mode = (g_synth_data.spectrograms[spectrogram_id].version == SPEC_VERSION_V2_OLA); - v.buffer_pos = v.ola_mode ? OLA_HOP_SIZE : DCT_SIZE; // Force reload on first render + v.buffer_pos = + v.ola_mode ? OLA_HOP_SIZE : DCT_SIZE; // Force reload on first render if (v.ola_mode) memset(v.overlap_buf, 0, sizeof(v.overlap_buf)); v.fractional_pos = |
