diff options
author | deva <deva> | 2008-07-22 21:24:59 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-22 21:24:59 +0000 |
commit | 8c0e853723666df7696e4e52cac4522336141125 (patch) | |
tree | cf673d365dfdb9e8ed274edac1f287219fc3d89b /src/midimapper.cc | |
parent | f6cabfe8fe888e00388a815541084b0fa332a462 (diff) |
Fixed 'scratchy' bug.
Diffstat (limited to 'src/midimapper.cc')
-rw-r--r-- | src/midimapper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/midimapper.cc b/src/midimapper.cc index 727074b..10e038f 100644 --- a/src/midimapper.cc +++ b/src/midimapper.cc @@ -71,7 +71,7 @@ Sample *MidiMapper::map(jack_midi_event_t event) int velocity = event.buffer[2]; if(velocity == 0) return NULL; - + /* // Parse midi event printf("[ Time: %d Size: %d ", event.time, event.size); for(size_t j = 0; j < event.size; j++) { @@ -79,7 +79,7 @@ Sample *MidiMapper::map(jack_midi_event_t event) printf(" Data: %d ", m); } printf("]\n"); - + */ if(drumkit->instruments.find(key) == drumkit->instruments.end()) return NULL; Velocity *v = drumkit->instruments[key]->getVelocity(velocity); |