aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Knight <q@1bpm.net>2021-08-25 23:11:51 +0100
committerRichard Knight <q@1bpm.net>2021-08-25 23:11:51 +0100
commitdba8fab8c71af37c35a901434f343bb017b67f0c (patch)
tree3447273778158792d93fb7680fd26a0d6a807ce4
parentd10407ac922456e67f257d4ba1e195418a6b85b8 (diff)
downloadcsound-opl-master.tar.gz
csound-opl-master.tar.bz2
csound-opl-master.zip
oplnote deinit returnHEADmaster
-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
+}