| 97 | } |
| 98 | |
| 99 | void CtrlrProcessor::setParameter (int index, float newValue) |
| 100 | { |
| 101 | CtrlrModulator *m = ctrlrManager->getModulatorByVstIndex (index); |
| 102 | if (m == nullptr) |
| 103 | { |
| 104 | return; |
| 105 | } |
| 106 | else if (newValue > 1.0f || newValue < 0.000000f) |
| 107 | { |
| 108 | return; |
| 109 | } |
| 110 | else |
| 111 | { |
| 112 | return (m->getProcessor().setValueFromHost(newValue)); |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | const String CtrlrProcessor::getParameterName (int index) |
| 117 | { |
nothing calls this directly
no test coverage detected