aboutsummaryrefslogtreecommitdiffstats
path: root/src/jack.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 15:48:27 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 15:49:10 +0200
commit6f22ee045e7535c5961374d57453c39d1cee224c (patch)
tree0a2183f448ac57a790d6b44518e2b03b623266cd /src/jack.c
parentd776345e62907ca6e78e325f6f02200f21c82497 (diff)
downloadjalv-6f22ee045e7535c5961374d57453c39d1cee224c.tar.gz
jalv-6f22ee045e7535c5961374d57453c39d1cee224c.tar.bz2
jalv-6f22ee045e7535c5961374d57453c39d1cee224c.zip
Remove support for deprecated event and uri-map extensions
Diffstat (limited to 'src/jack.c')
-rw-r--r--src/jack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jack.c b/src/jack.c
index 7abd42d..f85490a 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -179,7 +179,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
jack_midi_event_get(&ev, buf, i);
lv2_evbuf_write(&iter,
ev.time, 0,
- jalv->midi_event_id,
+ jalv->urids.midi_MidiEvent,
ev.size, ev.buffer);
}
}
@@ -218,12 +218,12 @@ jack_process_cb(jack_nframes_t nframes, void* data)
uint8_t* body;
lv2_evbuf_get(i, &frames, &subframes, &type, &size, &body);
- if (buf && type == jalv->midi_event_id) {
+ if (buf && type == jalv->urids.midi_MidiEvent) {
// Write MIDI event to Jack output
jack_midi_event_write(buf, frames, body, size);
}
- if (jalv->has_ui && !port->old_api) {
+ if (jalv->has_ui) {
// Forward event to UI
jalv_send_to_ui(jalv, p, type, size, body);
}