| 94 | } |
| 95 | |
| 96 | void processBypass(const ProcessArgs& args) override { |
| 97 | float in1 = inputs[IN1_INPUT].getVoltageSum(); |
| 98 | float in2 = inputs[IN2_INPUT].getVoltageSum(); |
| 99 | |
| 100 | float dry = clamp(in1 + in2, -10.0f, 10.0f); |
| 101 | |
| 102 | outputs[WET_OUTPUT].setVoltage(dry); |
| 103 | outputs[MIX_OUTPUT].setVoltage(dry); |
| 104 | } |
| 105 | |
| 106 | void process(const ProcessArgs& args) override { |
| 107 | float in1 = inputs[IN1_INPUT].getVoltageSum(); |
nothing calls this directly
no outgoing calls
no test coverage detected