From 41b6ef4642b25c22e47e5f89f113b502d3a4321c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Mon, 25 Jan 2016 12:32:09 +0100 Subject: added JackMidiInputEngine + additional minor changes --- drumgizmo/input/midifile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drumgizmo/input/midifile.cc') diff --git a/drumgizmo/input/midifile.cc b/drumgizmo/input/midifile.cc index 323a198..c9aeaf8 100644 --- a/drumgizmo/input/midifile.cc +++ b/drumgizmo/input/midifile.cc @@ -137,7 +137,7 @@ event_t* MidifileInputEngine::run(size_t pos, size_t len, size_t *nevents) { current_event->midi_buffer[2] > 0) { if(evs == nullptr) { - printf("Yet another raw owning pointer was generated by drumgizmo/input/midifile.cc - GET RID OF THEM!\n"); + printf("Owning raw pointer at drumgizmo/input/midifile.cc - GET RID OF THEM!\n"); evs = (event_t *)malloc(sizeof(event_t) * 1000); } @@ -171,7 +171,7 @@ event_t* MidifileInputEngine::run(size_t pos, size_t len, size_t *nevents) { offset += current_max_time; } else { if(evs == nullptr) { - printf("Yet another raw owning pointer was generated by drumgizmo/input/midifile.cc - GET RID OF THEM!\n"); + printf("Owning raw pointer at drumgizmo/input/midifile.cc - GET RID OF THEM!\n"); evs = (event_t *)malloc(sizeof(event_t) * 1000); } evs[num_events].type = TYPE_STOP; -- cgit v1.2.3