diff options
Diffstat (limited to 'drumgizmo/input/jackmidi.cc')
-rw-r--r-- | drumgizmo/input/jackmidi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/input/jackmidi.cc b/drumgizmo/input/jackmidi.cc index 9f54d9d..ba4e8b3 100644 --- a/drumgizmo/input/jackmidi.cc +++ b/drumgizmo/input/jackmidi.cc @@ -110,7 +110,7 @@ void JackMidiInputEngine::post() { void JackMidiInputEngine::process(jack_nframes_t num_frames) { assert(port != nullptr); - void* buffer = port->getBuffer(num_frames); + void* buffer = jack_port_get_buffer(port->port, num_frames); jack_nframes_t num_events = jack_midi_get_event_count(buffer); for(jack_nframes_t i = 0; i < num_events; ++i) { |