MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / toggleBypassForRouting

Method toggleBypassForRouting

Source/DSP/LfoManager.cpp:453–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453void 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
466void LfoManager::setLfoData(int index, const LfoData& newData)
467{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected