diff options
author | David Robillard <d@drobilla.net> | 2018-09-23 15:48:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-23 15:49:10 +0200 |
commit | 6f22ee045e7535c5961374d57453c39d1cee224c (patch) | |
tree | 0a2183f448ac57a790d6b44518e2b03b623266cd /src/jack.c | |
parent | d776345e62907ca6e78e325f6f02200f21c82497 (diff) | |
download | jalv-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |