fix memoized ignoreZone assertion for initialization

This commit is contained in:
Zach Pomerantz 2017-02-07 17:23:11 +00:00
parent d42b6a64c4
commit 308e3cab71

View file

@ -151,7 +151,7 @@ AudioMixerClientData::IgnoreZone& AudioMixerClientData::getIgnoreZone(unsigned i
Q_UNUSED(oldFrame);
// check the precondition
assert(frame == (oldFrame + 1));
assert(oldFrame == 0 || frame == (oldFrame + 1));
}
}