summaryrefslogtreecommitdiff
path: root/src/midimapper.cc
diff options
context:
space:
mode:
authordeva <deva>2008-07-22 21:24:59 +0000
committerdeva <deva>2008-07-22 21:24:59 +0000
commit8c0e853723666df7696e4e52cac4522336141125 (patch)
treecf673d365dfdb9e8ed274edac1f287219fc3d89b /src/midimapper.cc
parentf6cabfe8fe888e00388a815541084b0fa332a462 (diff)
Fixed 'scratchy' bug.
Diffstat (limited to 'src/midimapper.cc')
-rw-r--r--src/midimapper.cc4
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);