summaryrefslogtreecommitdiffstats
path: root/src/engine/ingen.lv2/ingen_lv2.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-12-19 21:37:50 +0000
committerDavid Robillard <d@drobilla.net>2009-12-19 21:37:50 +0000
commit19045ab92aa7e996971584a0dc8780d1d58b498b (patch)
tree619c73deb7fd64ce31c5167490d1ae186dbb2695 /src/engine/ingen.lv2/ingen_lv2.cpp
parent4613a2e15f1122ecf6830171de0ab18dc22fefff (diff)
downloadingen-19045ab92aa7e996971584a0dc8780d1d58b498b.tar.gz
ingen-19045ab92aa7e996971584a0dc8780d1d58b498b.tar.bz2
ingen-19045ab92aa7e996971584a0dc8780d1d58b498b.zip
New ingen module (library, not e.g. LV2 plugin) design.
Much cleaner interface and general usage of Ingen as a library. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2314 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/ingen.lv2/ingen_lv2.cpp')
-rw-r--r--src/engine/ingen.lv2/ingen_lv2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/ingen.lv2/ingen_lv2.cpp b/src/engine/ingen.lv2/ingen_lv2.cpp
index 2dd8cedc..9be7c30a 100644
--- a/src/engine/ingen.lv2/ingen_lv2.cpp
+++ b/src/engine/ingen.lv2/ingen_lv2.cpp
@@ -98,7 +98,7 @@ ingen_cleanup(LV2_Handle instance)
{
IngenPlugin* plugin = (IngenPlugin*)instance;
plugin->engine.reset();
- Ingen::Shared::destroy_world();
+ ingen_destroy_world();
free(instance);
}
@@ -120,7 +120,7 @@ ingen_instantiate(const LV2_Descriptor* descriptor,
Shared::bundle_path = bundle_path;
- plugin->world = Ingen::Shared::get_world();
+ plugin->world = ingen_get_world();
plugin->engine = SharedPtr<Engine>(new Engine(plugin->world));
plugin->world->local_engine = plugin->engine;