| 2469 | } |
| 2470 | |
| 2471 | bool 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. |