From de24fab8d3e871c8781a49725a0fc94c633a096e Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 23 Dec 2024 16:39:19 -0500 Subject: [PATCH] main.cpp : Call midiDeviceAllNotesOff() when run button is unchecked. --- src/caw/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/caw/main.cpp b/src/caw/main.cpp index 9a0ce50..d7cae98 100644 --- a/src/caw/main.cpp +++ b/src/caw/main.cpp @@ -301,6 +301,12 @@ rc_t _on_pgm_run( app_t* app, bool run_check_fl ) app->run_fl = run_check_fl; + if( !run_check_fl ) + { + midiDeviceAllNotesOff( app->ioH ); + + } + return rc; }