summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
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); }