diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-01-25 12:32:09 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 09:03:16 +0100 |
commit | 41b6ef4642b25c22e47e5f89f113b502d3a4321c (patch) | |
tree | 2aac4d7d2fe822506d7ce902f81d3c7dc52e0171 /drumgizmo/input/midifile.cc | |
parent | 7236fee052f52667f116ed83cacb21ed587d0d65 (diff) |
added JackMidiInputEngine + additional minor changes
Diffstat (limited to 'drumgizmo/input/midifile.cc')
-rw-r--r-- | drumgizmo/input/midifile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |