From bd92c37ed3513ab881cad3e8667c6e9c6af0858f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 9 Feb 2008 18:23:57 +0000 Subject: Use Raul::TimeStamp (LV2 compatible typed 32:32 fixed timestamp) everywhere. Fix initial size of Patchage messages window. Machina disabled for now (transitioning to generic timestamps). git-svn-id: http://svn.drobilla.net/lad/machina@1133 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/LearnRequest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine/LearnRequest.cpp') diff --git a/src/engine/LearnRequest.cpp b/src/engine/LearnRequest.cpp index f4d88f0..2bcd719 100644 --- a/src/engine/LearnRequest.cpp +++ b/src/engine/LearnRequest.cpp @@ -23,12 +23,12 @@ namespace Machina { /** Add the learned actions to the node */ void -LearnRequest::finish(BeatTime time) +LearnRequest::finish(TimeStamp time) { _node->set_enter_action(_enter_action); _node->set_exit_action(_exit_action); - double duration = Raul::Quantizer::quantize(_quantization, time - _start_time); + TimeDuration duration = Raul::Quantizer::quantize(_quantization, time - _start_time); _node->set_duration(duration); } -- cgit v1.2.1