diff options
author | David Robillard <d@drobilla.net> | 2013-12-31 18:36:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-12-31 18:36:49 +0000 |
commit | 26fbcc6b929ae13d56e9ed4e9b7cb362fe4cef28 (patch) | |
tree | 04edd7f4890a8efca5b2ea9935708315c833bdec | |
parent | 45d31b52da05ce362794e84e259910d9c9c0512b (diff) | |
download | jalv-26fbcc6b929ae13d56e9ed4e9b7cb362fe4cef28.tar.gz jalv-26fbcc6b929ae13d56e9ed4e9b7cb362fe4cef28.tar.bz2 jalv-26fbcc6b929ae13d56e9ed4e9b7cb362fe4cef28.zip |
Fix crash on plugins with MIDI ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5242 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/jalv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -564,7 +564,7 @@ jack_process_cb(jack_nframes_t nframes, void* data) if (port->flow == FLOW_OUTPUT && port->type == TYPE_EVENT) { void* buf = NULL; if (port->jack_port) { - jack_port_get_buffer(port->jack_port, nframes); + buf = jack_port_get_buffer(port->jack_port, nframes); jack_midi_clear_buffer(buf); } |