summaryrefslogtreecommitdiff
path: root/drumgizmo/input
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-25 13:00:34 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:16 +0100
commitc970d83d7394e73f4bdff9c69a186ec91ac5f9de (patch)
tree7ee3c52be2cce744b30b40c5c7d0ea86372f09dd /drumgizmo/input
parent29e6ee2ea1e8da158509fc1644894ca5de013530 (diff)
Fixed API-problems
Diffstat (limited to 'drumgizmo/input')
-rw-r--r--drumgizmo/input/jackmidi.cc2
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) {