diff options
author | rekado <rekado@elephly.net> | 2013-01-25 18:28:45 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-01-25 18:28:45 +0800 |
commit | 665a36b5e110d28d43f4579fc6fcc84d67e01ccc (patch) | |
tree | 43f3b926fff030ed0b625e81b9de8f1b8262de34 | |
parent | 847df7998384aa5f5ba3191a021603e62ab05849 (diff) |
do not reset voices on default case
-rw-r--r-- | src/mdaPiano.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp index 7341ee9..ae463f4 100644 --- a/src/mdaPiano.cpp +++ b/src/mdaPiano.cpp @@ -150,11 +150,12 @@ void mdaPiano::handle_midi(uint32_t size, unsigned char* data) { case 0x78: //all notes off case 0x7b: - default: for(short v=0; v<NVOICES; v++) { voices[v]->reset(); } break; + + default: break; } break; |