From c3d6d9c440d1e799a47530b5faf792c7680baf20 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sat, 15 Jul 2023 02:59:06 -0500 Subject: [PATCH] don't start engine on autoNoteOff it's unnecessary. issue #1187 --- src/engine/engine.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index b7ee8ec07..c32b53112 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -4322,9 +4322,7 @@ void DivEngine::autoNoteOn(int ch, int ins, int note, int vol) { void DivEngine::autoNoteOff(int ch, int note, int vol) { if (!playing) { - reset(); - freelance=true; - playing=true; + return; } //if (ch<0 || ch>=chans) return; for (int i=0; i