diff options
author | David Robillard <d@drobilla.net> | 2007-01-23 04:48:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-23 04:48:55 +0000 |
commit | 86637e192ca87a2c0562122b371dacdfc0572c70 (patch) | |
tree | 25eb44b21af49d215081808d9bc520bbef07bfd3 /src/libs/engine/JackMidiDriver.cpp | |
parent | a4ba7bcf194bcbdee622dd1fed76dfd47e50a0f0 (diff) | |
download | ingen-86637e192ca87a2c0562122b371dacdfc0572c70.tar.gz ingen-86637e192ca87a2c0562122b371dacdfc0572c70.tar.bz2 ingen-86637e192ca87a2c0562122b371dacdfc0572c70.zip |
Jack MIDI fixes, "fixed" (increased) ranges on control dialog range spinners.
git-svn-id: http://svn.drobilla.net/lad/ingen@269 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/JackMidiDriver.cpp')
-rw-r--r-- | src/libs/engine/JackMidiDriver.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libs/engine/JackMidiDriver.cpp b/src/libs/engine/JackMidiDriver.cpp index c21484e3..a976464e 100644 --- a/src/libs/engine/JackMidiDriver.cpp +++ b/src/libs/engine/JackMidiDriver.cpp @@ -64,10 +64,6 @@ JackMidiPort::~JackMidiPort() * * This is basically trivial (as opposed to AlsaMidiPort) since Jack MIDI * data is in-band with the audio thread. - * - * Prepares all events that occurred during the time interval passed - * (which ideally are the events from the previous cycle with an exact - * 1 cycle delay). */ void JackMidiPort::prepare_block(const SampleCount block_start, const SampleCount block_end) @@ -94,6 +90,8 @@ JackMidiPort::prepare_block(const SampleCount block_start, const SampleCount blo message->time = ev->time; message->size = ev->size; message->buffer = ev->buffer; + + assert(message->time < nframes); } //cerr << "Jack MIDI got " << event_count << " events." << endl; |