diff --git a/source/native-plugins/midi-file.cpp b/source/native-plugins/midi-file.cpp index 24531fef1..f2526c847 100644 --- a/source/native-plugins/midi-file.cpp +++ b/source/native-plugins/midi-file.cpp @@ -394,6 +394,8 @@ private: fFileLength = midiFile.getLastTimestamp(); fNeedsAllNotesOff = true; + fInternalTransportFrame = 0; + fLastFrame = 0; fMaxFrame = static_cast(fFileLength * sampleRate + 0.5); }