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

Method isCurrentStateEquivalentToPreset

Source/PluginProcessor.cpp:2471–2478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2469}
2470
2471bool FireAudioProcessor::isCurrentStateEquivalentToPreset(const juce::XmlElement& presetXml)
2472{
2473 auto presetTree = juce::ValueTree::fromXml(presetXml);
2474 if (! presetTree.isValid())
2475 return false;
2476
2477 return treeState.state.isEquivalentTo(presetTree);
2478}
2479
2480/**
2481 * @brief Shifts the band index for any LFO modulation routing target within a specified range.

Callers 1

StateComponentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected