diff --git a/src/deluge/dsp/master_compressor/master_compressor.cpp b/src/deluge/dsp/master_compressor/master_compressor.cpp index fe0fbb12e5..ca964e6a74 100644 --- a/src/deluge/dsp/master_compressor/master_compressor.cpp +++ b/src/deluge/dsp/master_compressor/master_compressor.cpp @@ -95,7 +95,7 @@ void MasterCompressor::render(StereoSample* buffer, uint16_t numSamples, q31_t v } while (++thisSample != bufferEnd); //for LEDs //4 converts to dB, then quadrupled for display range since a 30db reduction is basically killing the signal - gainReduction = std::clamp(-(reduction) * 4 * 4, 0, 127); + gainReduction = std::clamp(-(reduction)*4 * 4, 0, 127); //calc compression for next round (feedback compressor) rms = calc_rms(buffer, numSamples); } diff --git a/src/deluge/model/song/song.cpp b/src/deluge/model/song/song.cpp index 3f89d6e692..97222e69a1 100644 --- a/src/deluge/model/song/song.cpp +++ b/src/deluge/model/song/song.cpp @@ -2671,7 +2671,7 @@ int32_t Song::getCurrentPresetScale() { // If we're here, must be this one! return p; -notThisOne: {} +notThisOne : {} } return 255; @@ -4560,7 +4560,7 @@ Instrument* Song::changeInstrumentType(Instrument* oldInstrument, InstrumentType return NULL; } -gotAnInstrument: {} +gotAnInstrument : {} } // Synth or Kit