MCPcopy Create free account
hub / github.com/ZL-Audio/ZLEqualizer / updateOutputGain

Method updateOutputGain

source/zlp/controller.cpp:1031–1037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029 }
1030
1031 void Controller::updateOutputGain() {
1032 double total = c_makeup_gain_linear_;
1033 if (c_agc_on_) {
1034 total *= c_agc_gain_linear_;
1035 }
1036 output_gain_.setGainLinear(std::clamp(total, 1e-3, 1e3));
1037 }
1038}

Callers

nothing calls this directly

Calls 1

setGainLinearMethod · 0.80

Tested by

no test coverage detected