summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine')
-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);