| 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 | } |
nothing calls this directly
no test coverage detected