aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-17 04:50:53 +0000
committerDavid Robillard <d@drobilla.net>2007-04-17 04:50:53 +0000
commit9f3da0d87e9ca5183efd3493af8fea9ab8092d40 (patch)
tree5b53bca05fce68ea56ca784c512468369770c2a3
parent3b1c0f0988922dad659a3ed3273dddd24fead682 (diff)
downloadmachina-9f3da0d87e9ca5183efd3493af8fea9ab8092d40.tar.gz
machina-9f3da0d87e9ca5183efd3493af8fea9ab8092d40.tar.bz2
machina-9f3da0d87e9ca5183efd3493af8fea9ab8092d40.zip
Fixed possibly missed MIDI events.
git-svn-id: http://svn.drobilla.net/lad/machina@451 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/engine/Machine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Machine.cpp b/src/engine/Machine.cpp
index b09b924..0639881 100644
--- a/src/engine/Machine.cpp
+++ b/src/engine/Machine.cpp
@@ -260,7 +260,7 @@ Machine::run(const Raul::TimeSlice& time)
// Must do comparison in ticks here to avoid rounding up and executing
// an event outside the current cycle
} else if (time.beats_to_ticks(earliest->exit_time())
- <= time.beats_to_ticks(cycle_end)) {
+ < time.beats_to_ticks(cycle_end)) {
this_time += earliest->exit_time() - _time;
_time = earliest->exit_time();
exit_node(sink, earliest);