From da618852b67d64f5fed686234f5a626c33812c87 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Apr 2011 21:50:14 +0000 Subject: Add EngineBase, a pure virtual public interface for the engine. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3155 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/LV2RequestRunFeature.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/engine/LV2RequestRunFeature.hpp') diff --git a/src/engine/LV2RequestRunFeature.hpp b/src/engine/LV2RequestRunFeature.hpp index 9f35d506..6d6b66b3 100644 --- a/src/engine/LV2RequestRunFeature.hpp +++ b/src/engine/LV2RequestRunFeature.hpp @@ -48,9 +48,10 @@ struct RequestRunFeature : public Shared::LV2Features::Feature { if (!data->world->local_engine()) return; - data->world->local_engine()->message_context()->run( + Engine* engine = (Engine*)data->world->local_engine().get(); + engine->message_context()->run( dynamic_cast(data->node), - data->world->local_engine()->driver()->frame_time()); + engine->driver()->frame_time()); } static void delete_feature(LV2_Feature* feature) { -- cgit v1.2.1