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 7, 2023
1 parent e6bb257 commit 66b0e92
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 @@ -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<int32_t>(-(reduction) * 9 * 4, 0, 127);
gainReduction = std::clamp<int32_t>(-(reduction)*9 * 4, 0, 127);
//calc compression for next round (feedback compressor)
meanVolume = 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 @@ -2670,7 +2670,7 @@ int32_t Song::getCurrentPresetScale() {
// If we're here, must be this one!
return p;

notThisOne: {}
notThisOne : {}
}

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

gotAnInstrument: {}
gotAnInstrument : {}
}

// Synth or Kit
Expand Down

0 comments on commit 66b0e92

Please sign in to comment.