From 68861e30d860010424112ebaacf960a7839a009a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 25 Jul 2007 01:19:29 +0000 Subject: Fix crash on Jack frame counter overrun. git-svn-id: http://svn.drobilla.net/lad/ingen@619 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/JackMidiDriver.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/libs/engine/JackMidiDriver.cpp b/src/libs/engine/JackMidiDriver.cpp index a414c7a3..4d608beb 100644 --- a/src/libs/engine/JackMidiDriver.cpp +++ b/src/libs/engine/JackMidiDriver.cpp @@ -69,8 +69,6 @@ JackMidiPort::~JackMidiPort() void JackMidiPort::prepare_block(const SampleCount block_start, const SampleCount block_end) { - assert(block_end >= block_start); - const SampleCount nframes = block_end - block_start; void* jack_buffer = jack_port_get_buffer(_jack_port, nframes); const jack_nframes_t event_count = jack_midi_get_event_count(jack_buffer); -- cgit v1.2.1