--- linuxsampler/trunk/src/scriptvm/tree.h 2017/05/25 10:50:08 3206 +++ linuxsampler/trunk/src/scriptvm/tree.h 2017/05/25 10:53:45 3207 @@ -709,6 +709,11 @@ int suspensionTimeMicroseconds() const OVERRIDE { return suspendMicroseconds; } + + void resetPolyphonicData() OVERRIDE { + if (polyphonicIntMemory.empty()) return; + memset(&polyphonicIntMemory[0], 0, polyphonicIntMemory.size() * sizeof(int)); + } }; } // namespace LinuxSampler