summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-11-23 02:17:00 +0000
committerDavid Robillard <d@drobilla.net>2006-11-23 02:17:00 +0000
commit066c38eb3f0f5815037638b0bc56bf19a40e2830 (patch)
treee033cacb1b69ab27983b8173f2b6fd478a9fb0fe /src/libs/engine
parent905d123b99dedeb2adc7f5a1dec014b883f22da7 (diff)
downloadingen-066c38eb3f0f5815037638b0bc56bf19a40e2830.tar.gz
ingen-066c38eb3f0f5815037638b0bc56bf19a40e2830.tar.bz2
ingen-066c38eb3f0f5815037638b0bc56bf19a40e2830.zip
Updated for Jack MIDI API
git-svn-id: http://svn.drobilla.net/lad/ingen@203 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/JackMidiDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/JackMidiDriver.cpp b/src/libs/engine/JackMidiDriver.cpp
index 9310d1a6..016889d7 100644
--- a/src/libs/engine/JackMidiDriver.cpp
+++ b/src/libs/engine/JackMidiDriver.cpp
@@ -89,7 +89,7 @@ JackMidiPort::prepare_block(const SampleCount block_start, const SampleCount blo
const SampleCount nframes = block_end - block_start;
void* jack_buffer = jack_port_get_buffer(m_jack_port, nframes);
- const jack_nframes_t event_count = jack_midi_port_get_info(jack_buffer, nframes)->event_count;
+ const jack_nframes_t event_count = jack_midi_get_event_count(jack_buffer, nframes);
assert(event_count < m_patch_port->buffer_size());