Skip to content

Commit

Permalink
dbt format
Browse files Browse the repository at this point in the history
  • Loading branch information
m-m-adams committed Nov 9, 2023
1 parent b7e724f commit ede5aad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/deluge/dsp/master_compressor/master_compressor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int32_t>(-(reduction) * 4 * 4, 0, 127);
gainReduction = std::clamp<int32_t>(-(reduction)*4 * 4, 0, 127);
//calc compression for next round (feedback compressor)
rms = calc_rms(buffer, numSamples);
}
Expand Down
4 changes: 2 additions & 2 deletions src/deluge/model/song/song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2671,7 +2671,7 @@ int32_t Song::getCurrentPresetScale() {
// If we're here, must be this one!
return p;

notThisOne: {}
notThisOne : {}
}

return 255;
Expand Down Expand Up @@ -4560,7 +4560,7 @@ Instrument* Song::changeInstrumentType(Instrument* oldInstrument, InstrumentType
return NULL;
}

gotAnInstrument: {}
gotAnInstrument : {}
}

// Synth or Kit
Expand Down

0 comments on commit ede5aad

Please sign in to comment.