From c31159296f80aba10615bf706d9c8407009eaeed Mon Sep 17 00:00:00 2001 From: m-m-adams Date: Tue, 7 Nov 2023 00:22:04 -0500 Subject: [PATCH] dbt format --- src/deluge/dsp/master_compressor/master_compressor.cpp | 2 +- src/deluge/model/song/song.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/deluge/dsp/master_compressor/master_compressor.cpp b/src/deluge/dsp/master_compressor/master_compressor.cpp index 27691c2233..5b273e1c87 100644 --- a/src/deluge/dsp/master_compressor/master_compressor.cpp +++ b/src/deluge/dsp/master_compressor/master_compressor.cpp @@ -112,7 +112,7 @@ void MasterCompressor::render(StereoSample* buffer, uint16_t numSamples, q31_t v } while (++thisSample != bufferEnd); //for LEDs //9 converts to dB, quadrupled for display range since a 30db reduction is basically killing the signal - gainReduction = std::clamp(-(reduction) * 9 * 4, 0, 127); + gainReduction = std::clamp(-(reduction)*9 * 4, 0, 127); //calc compression for next round (feedback compressor) meanVolume = calc_rms(buffer, numSamples); } diff --git a/src/deluge/model/song/song.cpp b/src/deluge/model/song/song.cpp index 1b17038d18..173b89bbd7 100644 --- a/src/deluge/model/song/song.cpp +++ b/src/deluge/model/song/song.cpp @@ -2670,7 +2670,7 @@ int32_t Song::getCurrentPresetScale() { // If we're here, must be this one! return p; -notThisOne: {} +notThisOne : {} } return 255; @@ -4559,7 +4559,7 @@ Instrument* Song::changeInstrumentType(Instrument* oldInstrument, InstrumentType return NULL; } -gotAnInstrument: {} +gotAnInstrument : {} } // Synth or Kit