summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-12 00:23:16 +0000
committerDavid Robillard <d@drobilla.net>2008-10-12 00:23:16 +0000
commit57698964f1e88b2b74a0ce31ffaba3044d884dac (patch)
treeaa9ca938f024000b60fa9d49be490b2446a5a789 /src/client
parentfa9837f95a2d3be3f5eb94fcbf8222bb208d87db (diff)
downloadingen-57698964f1e88b2b74a0ce31ffaba3044d884dac.tar.gz
ingen-57698964f1e88b2b74a0ce31ffaba3044d884dac.tar.bz2
ingen-57698964f1e88b2b74a0ce31ffaba3044d884dac.zip
Eliminate redundant ingen ontology parts, and save ingen Patchage in an LV2 compatible format.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1651 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/DeprecatedLoader.cpp8
-rw-r--r--src/client/NodeModel.cpp4
-rw-r--r--src/client/PortModel.hpp4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/client/DeprecatedLoader.cpp b/src/client/DeprecatedLoader.cpp
index 2b4e34a4..82b99aa9 100644
--- a/src/client/DeprecatedLoader.cpp
+++ b/src/client/DeprecatedLoader.cpp
@@ -462,16 +462,16 @@ DeprecatedLoader::load_node(const Path& parent, xmlDocPtr doc, const xmlNodePtr
if (plugin_type == "Internal") {
// FIXME: indices
if (plugin_label == "audio_input") {
- _engine->new_port(path, 0, "ingen:AudioPort", false);
+ _engine->new_port(path, 0, "lv2:AudioPort", false);
is_port = true;
} else if (plugin_label == "audio_output") {
- _engine->new_port(path, 0, "ingen:AudioPort", true);
+ _engine->new_port(path, 0, "lv2:AudioPort", true);
is_port = true;
} else if (plugin_label == "control_input") {
- _engine->new_port(path, 0, "ingen:ControlPort", false);
+ _engine->new_port(path, 0, "lv2:ControlPort", false);
is_port = true;
} else if (plugin_label == "control_output" ) {
- _engine->new_port(path, 0, "ingen:ControlPort", true);
+ _engine->new_port(path, 0, "lv2:ControlPort", true);
is_port = true;
} else if (plugin_label == "midi_input") {
_engine->new_port(path, 0, "ingen:MIDIPort", false);
diff --git a/src/client/NodeModel.cpp b/src/client/NodeModel.cpp
index ad04892f..ee4988e3 100644
--- a/src/client/NodeModel.cpp
+++ b/src/client/NodeModel.cpp
@@ -198,8 +198,8 @@ NodeModel::port_value_range(SharedPtr<PortModel> port, float& min, float& max) c
#endif
// Possibly overriden
- const Atom& min_atom = port->get_variable("ingen:minimum");
- const Atom& max_atom = port->get_variable("ingen:maximum");
+ const Atom& min_atom = port->get_variable("lv2:minimum");
+ const Atom& max_atom = port->get_variable("lv2:maximum");
if (min_atom.type() == Atom::FLOAT)
min = min_atom.get_float();
if (max_atom.type() == Atom::FLOAT)
diff --git a/src/client/PortModel.hpp b/src/client/PortModel.hpp
index cf0d7ddc..0a078aaa 100644
--- a/src/client/PortModel.hpp
+++ b/src/client/PortModel.hpp
@@ -50,8 +50,8 @@ public:
bool has_hint(const std::string& qname) const;
bool is_logarithmic() const { return has_hint("ingen:logarithmic"); }
- bool is_integer() const { return has_hint("ingen:integer"); }
- bool is_toggle() const { return has_hint("ingen:toggled"); }
+ bool is_integer() const { return has_hint("lv2:integer"); }
+ bool is_toggle() const { return has_hint("lv2:toggled"); }
inline bool operator==(const PortModel& pm) const { return (_path == pm._path); }