From dba8fab8c71af37c35a901434f343bb017b67f0c Mon Sep 17 00:00:00 2001 From: Richard Knight Date: Wed, 25 Aug 2021 23:11:51 +0100 Subject: oplnote deinit return --- src/opcodes.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/opcodes.cpp b/src/opcodes.cpp index a6fd7e9..b6d84bc 100644 --- a/src/opcodes.cpp +++ b/src/opcodes.cpp @@ -321,6 +321,7 @@ struct oplnote : csnd::InPlug<4> { int deinit() { adl_rt_noteOff(session->device, channel, note); + return OK; } }; @@ -554,4 +555,4 @@ void csnd::on_load(csnd::Csound *csound) { csnd::plugin(csound, "oplnote", csnd::thread::i); csnd::plugin(csound, "oplpanic", csnd::thread::i); csnd::plugin(csound, "oplbanknames", csnd::thread::i); -} \ No newline at end of file +} -- cgit v1.2.3