aboutsummaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-21 14:54:05 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-21 14:54:05 +0100
commitf3d77a9c079754914ebe1ccdfc58d0df953be8b8 (patch)
tree81de623f1457a5c5e7ed4dd7994d12ab5e5de98a /vm.h
parent11088137929d6cff5e53daf76b16cbdc0471a729 (diff)
downloadvm.lv2-f3d77a9c079754914ebe1ccdfc58d0df953be8b8.tar.xz
implement time extension.
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm.h b/vm.h
index db0efd5..c9bc029 100644
--- a/vm.h
+++ b/vm.h
@@ -579,7 +579,7 @@ vm_deserialize(vm_api_impl_t *impl, LV2_Atom_Forge *forge,
command_t *cmd = cmds;
memset(cmds, 0x0, sizeof(command_t)*ITEMS_MAX);
- bool is_dynamic = false;
+ bool uses_time = false;
LV2_ATOM_TUPLE_BODY_FOREACH(body, size, item)
{
@@ -625,7 +625,7 @@ vm_deserialize(vm_api_impl_t *impl, LV2_Atom_Forge *forge,
|| (cmd->op == OP_FPS)
|| (cmd->op == OP_SPEED) )
{
- is_dynamic = true;
+ uses_time = true;
}
}
else
@@ -639,7 +639,7 @@ vm_deserialize(vm_api_impl_t *impl, LV2_Atom_Forge *forge,
break;
}
- return is_dynamic;
+ return uses_time;
}
#endif // _VM_LV2_H