diff options
author | David Robillard <d@drobilla.net> | 2007-05-07 01:52:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-05-07 01:52:19 +0000 |
commit | 32778748308168a82af100bba6b3bd6699f7aa7f (patch) | |
tree | ae80b6ab0fcbb246920b1bebbc652756f63a388a /src/engine/JackDriver.cpp | |
parent | 60f7de53c0b8763f1867d450a8195bd2845c6e66 (diff) | |
download | machina-32778748308168a82af100bba6b3bd6699f7aa7f.tar.gz machina-32778748308168a82af100bba6b3bd6699f7aa7f.tar.bz2 machina-32778748308168a82af100bba6b3bd6699f7aa7f.zip |
Fixed assert crash bug.
git-svn-id: http://svn.drobilla.net/lad/machina@515 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/JackDriver.cpp')
-rw-r--r-- | src/engine/JackDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/JackDriver.cpp b/src/engine/JackDriver.cpp index 32439c8..f45ccc6 100644 --- a/src/engine/JackDriver.cpp +++ b/src/engine/JackDriver.cpp @@ -269,7 +269,7 @@ JackDriver::on_process(jack_nframes_t nframes) const TickCount run_dur_ticks = _cycle_time.beats_to_ticks(run_dur_beats); // Machine didn't run at all (empty, or no initial states) - if (run_dur_ticks == 0) { + if (run_dur_beats == 0) { machine->reset(); // Try again next cycle _cycle_time.set_start(0); return; |