summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-19 18:29:16 +0000
committerDavid Robillard <d@drobilla.net>2007-04-19 18:29:16 +0000
commitc625507d8a3101742c083dd030cbd1e1e295a9a0 (patch)
tree038277c2016d99c02b80500f928c25b6af4eb9f1 /hosts
parent45fa5e4b4cd73edadf656471f0557603096d8874 (diff)
downloadlilv-c625507d8a3101742c083dd030cbd1e1e295a9a0.tar.gz
lilv-c625507d8a3101742c083dd030cbd1e1e295a9a0.tar.bz2
lilv-c625507d8a3101742c083dd030cbd1e1e295a9a0.zip
Renamed SLV2Model SLV2World.
Updated Ingen for SLV2 API changes. git-svn-id: http://svn.drobilla.net/lad/slv2@459 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'hosts')
-rw-r--r--hosts/lv2_jack_host.c8
-rw-r--r--hosts/lv2_simple_jack_host.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/hosts/lv2_jack_host.c b/hosts/lv2_jack_host.c
index 2e7a23f..a0bca74 100644
--- a/hosts/lv2_jack_host.c
+++ b/hosts/lv2_jack_host.c
@@ -63,9 +63,9 @@ main(int argc, char** argv)
host.ports = NULL;
/* Find all installed plugins */
- SLV2Model model = slv2_model_new();
- slv2_model_load_all(model);
- SLV2Plugins plugins = slv2_model_get_all_plugins(model);
+ SLV2World world = slv2_world_new();
+ slv2_world_load_all(world);
+ SLV2Plugins plugins = slv2_world_get_all_plugins(world);
/* Find the plugin to run */
const char* plugin_uri = (argc == 2) ? argv[1] : NULL;
@@ -140,7 +140,7 @@ main(int argc, char** argv)
}
jack_client_close(host.jack_client);
- slv2_model_free(model);
+ slv2_world_free(world);
return 0;
}
diff --git a/hosts/lv2_simple_jack_host.c b/hosts/lv2_simple_jack_host.c
index 260605c..0b938e3 100644
--- a/hosts/lv2_simple_jack_host.c
+++ b/hosts/lv2_simple_jack_host.c
@@ -24,8 +24,8 @@
int
main(/*int argc, char** argv*/)
{
- SLV2Model model = slv2_model_new();
- slv2_model_load_all(model);
+ SLV2World world = slv2_world_new();
+ slv2_world_load_all(world);
/*printf("********** All plugins **********\n");
@@ -62,7 +62,7 @@ main(/*int argc, char** argv*/)
slv2_plugins_free(plugins);
*/
- slv2_model_free(model);
+ slv2_world_free(world);
return 0;
}