diff options
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 = |
