| 451 | } |
| 452 | |
| 453 | void LfoManager::toggleBypassForRouting(const juce::String& targetParameterID) |
| 454 | { |
| 455 | const juce::ScopedLock sl(dataAccessLock); |
| 456 | for (auto& routing : modulationRoutings) |
| 457 | { |
| 458 | if (routing.targetParameterID == targetParameterID) |
| 459 | { |
| 460 | routing.isBypassed = ! routing.isBypassed; |
| 461 | return; // Assuming one routing per target for now |
| 462 | } |
| 463 | } |
| 464 | } |
| 465 | |
| 466 | void LfoManager::setLfoData(int index, const LfoData& newData) |
| 467 | { |
no outgoing calls
no test coverage detected