aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/LearnRequest.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-02-09 18:23:57 +0000
committerDavid Robillard <d@drobilla.net>2008-02-09 18:23:57 +0000
commitbd92c37ed3513ab881cad3e8667c6e9c6af0858f (patch)
treefa0971280abc199228bdc84dbbfe6e3b04b8b876 /src/engine/LearnRequest.cpp
parent643bc5303bd0aaf054df02782a1ee2bf2c78e852 (diff)
downloadmachina-bd92c37ed3513ab881cad3e8667c6e9c6af0858f.tar.gz
machina-bd92c37ed3513ab881cad3e8667c6e9c6af0858f.tar.bz2
machina-bd92c37ed3513ab881cad3e8667c6e9c6af0858f.zip
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
Diffstat (limited to 'src/engine/LearnRequest.cpp')
-rw-r--r--src/engine/LearnRequest.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}