do not reset voices on default case
authorrekado <rekado@elephly.net>
Fri, 25 Jan 2013 10:28:45 +0000 (18:28 +0800)
committerrekado <rekado@elephly.net>
Fri, 25 Jan 2013 10:28:45 +0000 (18:28 +0800)
src/mdaPiano.cpp

index 7341ee9..ae463f4 100644 (file)
@@ -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;