diff options
Diffstat (limited to 'src/audio/synth.cc')
| -rw-r--r-- | src/audio/synth.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/audio/synth.cc b/src/audio/synth.cc index d584c62..57972cc 100644 --- a/src/audio/synth.cc +++ b/src/audio/synth.cc @@ -110,8 +110,8 @@ int synth_register_spectrogram(const Spectrogram* spec) { for (int i = 0; i < MAX_SPECTROGRAMS; ++i) { if (!g_synth_data.spectrogram_registered[i]) { g_synth_data.spectrograms[i] = *spec; - g_synth_data.active_spectrogram_data[i].store( - spec->spectral_data_a, std::memory_order_release); + g_synth_data.active_spectrogram_data[i].store(spec->spectral_data_a, + std::memory_order_release); g_synth_data.spectrogram_registered[i] = true; return i; } @@ -184,9 +184,8 @@ void synth_trigger_voice(int spectrogram_id, float volume, float pan, volume, spectrogram_id); } if (pan < -1.0f || pan > 1.0f) { - DEBUG_SYNTH( - "[SYNTH WARNING] Invalid pan=%.2f for spectrogram_id=%d\n", - pan, spectrogram_id); + DEBUG_SYNTH("[SYNTH WARNING] Invalid pan=%.2f for spectrogram_id=%d\n", pan, + spectrogram_id); } if (start_offset_samples < 0) { DEBUG_SYNTH("[SYNTH WARNING] Negative start_offset=%d, clamping to 0\n", |
