From 665a36b5e110d28d43f4579fc6fcc84d67e01ccc Mon Sep 17 00:00:00 2001 From: rekado Date: Fri, 25 Jan 2013 18:28:45 +0800 Subject: do not reset voices on default case --- src/mdaPiano.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; vreset(); } break; + + default: break; } break; -- cgit v1.2.3