summaryrefslogtreecommitdiffstats
path: root/src/server/internals
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-21 19:29:03 +0000
committerDavid Robillard <d@drobilla.net>2011-10-21 19:29:03 +0000
commitee1ba36e564c4f0545e50ec91fa4b14d6dfca91b (patch)
tree60935911f4f05642fc86c1e94052209a091b0156 /src/server/internals
parentc65659729265b8795ea76390a3507023ff3164dd (diff)
downloadingen-ee1ba36e564c4f0545e50ec91fa4b14d6dfca91b.tar.gz
ingen-ee1ba36e564c4f0545e50ec91fa4b14d6dfca91b.tar.bz2
ingen-ee1ba36e564c4f0545e50ec91fa4b14d6dfca91b.zip
Separate URIs from LV2URIMap.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3564 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/internals')
-rw-r--r--src/server/internals/Controller.cpp4
-rw-r--r--src/server/internals/Controller.hpp2
-rw-r--r--src/server/internals/Delay.cpp4
-rw-r--r--src/server/internals/Delay.hpp2
-rw-r--r--src/server/internals/Note.cpp4
-rw-r--r--src/server/internals/Note.hpp2
-rw-r--r--src/server/internals/Trigger.cpp4
-rw-r--r--src/server/internals/Trigger.hpp2
8 files changed, 12 insertions, 12 deletions
diff --git a/src/server/internals/Controller.cpp b/src/server/internals/Controller.cpp
index bdf8e607..86a45f03 100644
--- a/src/server/internals/Controller.cpp
+++ b/src/server/internals/Controller.cpp
@@ -36,7 +36,7 @@ namespace Ingen {
namespace Server {
namespace Internals {
-InternalPlugin* ControllerNode::internal_plugin(Shared::LV2URIMap& uris) {
+InternalPlugin* ControllerNode::internal_plugin(Shared::URIs& uris) {
return new InternalPlugin(uris, NS_INTERNALS "Controller", "controller");
}
@@ -49,7 +49,7 @@ ControllerNode::ControllerNode(InternalPlugin* plugin,
: NodeImpl(plugin, path, false, parent, srate)
, _learning(false)
{
- const Ingen::Shared::LV2URIMap& uris = bufs.uris();
+ const Ingen::Shared::URIs& uris = bufs.uris();
_ports = new Raul::Array<PortImpl*>(6);
_midi_in_port = new InputPort(bufs, this, "input", 0, 1, PortType::EVENTS, Raul::Atom());
diff --git a/src/server/internals/Controller.hpp b/src/server/internals/Controller.hpp
index 30ef663f..d664bf55 100644
--- a/src/server/internals/Controller.hpp
+++ b/src/server/internals/Controller.hpp
@@ -54,7 +54,7 @@ public:
void learn() { _learning = true; }
- static InternalPlugin* internal_plugin(Shared::LV2URIMap& uris);
+ static InternalPlugin* internal_plugin(Shared::URIs& uris);
private:
bool _learning;
diff --git a/src/server/internals/Delay.cpp b/src/server/internals/Delay.cpp
index 4175862c..5d597c53 100644
--- a/src/server/internals/Delay.cpp
+++ b/src/server/internals/Delay.cpp
@@ -47,7 +47,7 @@ namespace Internals {
static const float MAX_DELAY_SECONDS = 8.0f;
-InternalPlugin* DelayNode::internal_plugin(Shared::LV2URIMap& uris) {
+InternalPlugin* DelayNode::internal_plugin(Shared::URIs& uris) {
return new InternalPlugin(uris, NS_INTERNALS "Delay", "delay");
}
@@ -64,7 +64,7 @@ DelayNode::DelayNode(
, _buffer_mask(0)
, _write_phase(0)
{
- const Ingen::Shared::LV2URIMap& uris = bufs.uris();
+ const Ingen::Shared::URIs& uris = bufs.uris();
_ports = new Raul::Array<PortImpl*>(3);
const float default_delay = 1.0f;
diff --git a/src/server/internals/Delay.hpp b/src/server/internals/Delay.hpp
index 7456d7cc..d1ead156 100644
--- a/src/server/internals/Delay.hpp
+++ b/src/server/internals/Delay.hpp
@@ -50,7 +50,7 @@ public:
void process(ProcessContext& context);
- static InternalPlugin* internal_plugin(Shared::LV2URIMap& uris);
+ static InternalPlugin* internal_plugin(Shared::URIs& uris);
float delay_samples() const { return _delay_samples; }
diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp
index f28dacc1..0b0acbdc 100644
--- a/src/server/internals/Note.cpp
+++ b/src/server/internals/Note.cpp
@@ -42,7 +42,7 @@ namespace Ingen {
namespace Server {
namespace Internals {
-InternalPlugin* NoteNode::internal_plugin(Shared::LV2URIMap& uris) {
+InternalPlugin* NoteNode::internal_plugin(Shared::URIs& uris) {
return new InternalPlugin(uris, NS_INTERNALS "Note", "note");
}
@@ -58,7 +58,7 @@ NoteNode::NoteNode(
, _prepared_voices(NULL)
, _sustain(false)
{
- const Ingen::Shared::LV2URIMap& uris = bufs.uris();
+ const Ingen::Shared::URIs& uris = bufs.uris();
_ports = new Raul::Array<PortImpl*>(5);
_midi_in_port = new InputPort(bufs, this, "input", 0, 1, PortType::EVENTS, Raul::Atom());
diff --git a/src/server/internals/Note.hpp b/src/server/internals/Note.hpp
index d20baf13..6ac0af78 100644
--- a/src/server/internals/Note.hpp
+++ b/src/server/internals/Note.hpp
@@ -62,7 +62,7 @@ public:
void sustain_on(ProcessContext& context, FrameTime time);
void sustain_off(ProcessContext& context, FrameTime time);
- static InternalPlugin* internal_plugin(Shared::LV2URIMap& uris);
+ static InternalPlugin* internal_plugin(Shared::URIs& uris);
private:
/** Key, one for each key on the keyboard */
diff --git a/src/server/internals/Trigger.cpp b/src/server/internals/Trigger.cpp
index d062fa13..349bb1d9 100644
--- a/src/server/internals/Trigger.cpp
+++ b/src/server/internals/Trigger.cpp
@@ -38,7 +38,7 @@ namespace Ingen {
namespace Server {
namespace Internals {
-InternalPlugin* TriggerNode::internal_plugin(Shared::LV2URIMap& uris) {
+InternalPlugin* TriggerNode::internal_plugin(Shared::URIs& uris) {
return new InternalPlugin(uris, NS_INTERNALS "Trigger", "trigger");
}
@@ -52,7 +52,7 @@ TriggerNode::TriggerNode(
: NodeImpl(plugin, path, false, parent, srate)
, _learning(false)
{
- const Ingen::Shared::LV2URIMap& uris = bufs.uris();
+ const Ingen::Shared::URIs& uris = bufs.uris();
_ports = new Raul::Array<PortImpl*>(5);
_midi_in_port = new InputPort(bufs, this, "input", 0, 1, PortType::EVENTS, Raul::Atom());
diff --git a/src/server/internals/Trigger.hpp b/src/server/internals/Trigger.hpp
index 92b85345..2a75ee4f 100644
--- a/src/server/internals/Trigger.hpp
+++ b/src/server/internals/Trigger.hpp
@@ -58,7 +58,7 @@ public:
void learn() { _learning = true; }
- static InternalPlugin* internal_plugin(Shared::LV2URIMap& uris);
+ static InternalPlugin* internal_plugin(Shared::URIs& uris);
private:
bool _learning;