diff options
author | David Robillard <d@drobilla.net> | 2011-04-16 21:50:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-16 21:50:14 +0000 |
commit | da618852b67d64f5fed686234f5a626c33812c87 (patch) | |
tree | 2226d335f85478689a9c0f83f1f58bd9e29d635e /src/engine/LV2RequestRunFeature.hpp | |
parent | e867b85118f275a263ef1a3162567d90be62d0ac (diff) | |
download | ingen-da618852b67d64f5fed686234f5a626c33812c87.tar.gz ingen-da618852b67d64f5fed686234f5a626c33812c87.tar.bz2 ingen-da618852b67d64f5fed686234f5a626c33812c87.zip |
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
Diffstat (limited to 'src/engine/LV2RequestRunFeature.hpp')
-rw-r--r-- | src/engine/LV2RequestRunFeature.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
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<NodeImpl*>(data->node), - data->world->local_engine()->driver()->frame_time()); + engine->driver()->frame_time()); } static void delete_feature(LV2_Feature* feature) { |