diff --git a/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.h b/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.h index 047d672751..c3da69cb7b 100644 --- a/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.h +++ b/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.h @@ -102,6 +102,13 @@ public: : (channel < 16 && channel >= 16 - numMemberChannels); } + bool operator== (const Zone& other) const noexcept { return lowerZone == other.lowerZone + && numMemberChannels == other.numMemberChannels + && perNotePitchbendRange == other.perNotePitchbendRange + && masterPitchbendRange == other.masterPitchbendRange; } + + bool operator!= (const Zone& other) const noexcept { return ! operator== (other); } + int numMemberChannels; int perNotePitchbendRange; int masterPitchbendRange;