| 2212 | } |
| 2213 | |
| 2214 | void FireAudioProcessor::toggleBipolarMode(const juce::String& targetParameterID) |
| 2215 | { |
| 2216 | // Find the matching routing in the modulation array. |
| 2217 | for (auto& routing : lfoManager->getModulationRoutings()) |
| 2218 | { |
| 2219 | if (routing.targetParameterID == targetParameterID) |
| 2220 | { |
| 2221 | // Found it. Flip the boolean state. |
| 2222 | routing.isBipolar = ! routing.isBipolar; |
| 2223 | |
| 2224 | lfoDataHasChanged(); |
| 2225 | |
| 2226 | // For now, we only handle the first match. |
| 2227 | return; |
| 2228 | } |
| 2229 | } |
| 2230 | } |
| 2231 | |
| 2232 | void FireAudioProcessor::resetModulation(const juce::String& targetParameterID) |
| 2233 | { |
no outgoing calls
no test coverage detected