summaryrefslogtreecommitdiff
path: root/src/mdaPianoVoice.cpp
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-01-14 21:16:47 +0800
committerrekado <rekado@elephly.net>2013-01-14 21:16:47 +0800
commite8c0cd081ecd07ad0d30b66426d69a6c60d545b6 (patch)
tree9141a57f91694e4a92a1b64bb83ebfb2b4b94cd4 /src/mdaPianoVoice.cpp
parentba836690649899df4c68cf5e642a62a24a03ccdd (diff)
add type and declaration of `on`
Diffstat (limited to 'src/mdaPianoVoice.cpp')
-rw-r--r--src/mdaPianoVoice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mdaPianoVoice.cpp b/src/mdaPianoVoice.cpp
index 4c88e8f..f7824d7 100644
--- a/src/mdaPianoVoice.cpp
+++ b/src/mdaPianoVoice.cpp
@@ -42,7 +42,7 @@ float mdaPianoVoice::p_helper(unsigned short id, Param d) {
}
-mdaPianoVoice::on(unsigned char note, unsigned char velocity)
+void mdaPianoVoice::on(unsigned char note, unsigned char velocity)
{
// TODO: replace with this voice's local copy
float * param = programs[curProgram].param;