summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-25 01:19:29 +0000
committerDavid Robillard <d@drobilla.net>2007-07-25 01:19:29 +0000
commit68861e30d860010424112ebaacf960a7839a009a (patch)
tree5dd7a747ad98d213b2d56580ffb534b1048c94ff /src
parent33252f751ca8afd65daebd21624570df5a4ef010 (diff)
downloadingen-68861e30d860010424112ebaacf960a7839a009a.tar.gz
ingen-68861e30d860010424112ebaacf960a7839a009a.tar.bz2
ingen-68861e30d860010424112ebaacf960a7839a009a.zip
Fix crash on Jack frame counter overrun.
git-svn-id: http://svn.drobilla.net/lad/ingen@619 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/libs/engine/JackMidiDriver.cpp2
1 files changed, 0 insertions, 2 deletions
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);