aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/opcodes.cpp3
1 files changed, 2 insertions, 1 deletions
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<oplnote>(csound, "oplnote", csnd::thread::i);
csnd::plugin<oplpanic>(csound, "oplpanic", csnd::thread::i);
csnd::plugin<oplbanknames>(csound, "oplbanknames", csnd::thread::i);
-} \ No newline at end of file
+}