aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-17 01:43:22 +0000
committerDavid Robillard <d@drobilla.net>2010-12-17 01:43:22 +0000
commit02bb4118d6f056553daf383975e7a5e7eac4f38b (patch)
tree28f9c558335a2ca15bc3f1e17fd8f9ea4e8c1252 /src/engine/machina
parent95b4da8350d77e28f2c37a58a18be5684c90a450 (diff)
downloadmachina-02bb4118d6f056553daf383975e7a5e7eac4f38b.tar.gz
machina-02bb4118d6f056553daf383975e7a5e7eac4f38b.tar.bz2
machina-02bb4118d6f056553daf383975e7a5e7eac4f38b.zip
Fix run duration handling and associated constant crashes (assertion failures).
Execution seemingly works for fractional note durations now... git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2730 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/machina')
-rw-r--r--src/engine/machina/Machine.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/machina/Machine.hpp b/src/engine/machina/Machine.hpp
index 6b29444..1d07a2c 100644
--- a/src/engine/machina/Machine.hpp
+++ b/src/engine/machina/Machine.hpp
@@ -59,8 +59,8 @@ public:
void write_state(Redland::Model& model);
// Audio context
- void reset(Raul::TimeStamp time);
- TimeDuration run(const Raul::TimeSlice& time);
+ void reset(Raul::TimeStamp time);
+ uint32_t run(const Raul::TimeSlice& time);
// Any context
inline Raul::TimeStamp time() const { return _time; }