From e9d99340c9ac29aaa7912db0554a88820c4a776a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 22 Oct 2007 03:48:28 +0000 Subject: Rework plugin design (engine side) to be less crap. Use LADSPA labels instead of munged friendly names to generate OSC paths. Separate OSC paths/names from human friendly names (conceptually, still needs UI exposing). git-svn-id: http://svn.drobilla.net/lad/ingen@898 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/TransportNode.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/libs/engine/TransportNode.cpp') diff --git a/src/libs/engine/TransportNode.cpp b/src/libs/engine/TransportNode.cpp index 6a9fa73d..e65719df 100644 --- a/src/libs/engine/TransportNode.cpp +++ b/src/libs/engine/TransportNode.cpp @@ -18,7 +18,7 @@ #include "TransportNode.hpp" #include #include "OutputPort.hpp" -#include "PluginImpl.hpp" +#include "InternalPlugin.hpp" #include "JackAudioDriver.hpp" #include "PortImpl.hpp" #include "util.hpp" @@ -28,7 +28,8 @@ namespace Ingen { TransportNode::TransportNode(const string& path, bool polyphonic, PatchImpl* parent, SampleRate srate, size_t buffer_size) -: NodeBase(new PluginImpl(Plugin::Internal, "ingen:transport_node"), path, false, parent, srate, buffer_size) +: NodeBase(new InternalPlugin("ingen:transport_node", "transport", "Transport Follower"), + path, false, parent, srate, buffer_size) { #if 0 _num_ports = 10; @@ -74,10 +75,6 @@ TransportNode::TransportNode(const string& path, bool polyphonic, PatchImpl* par // new PortInfo("Bar Tick", AUDIO, OUTPUT, 0, 0, 1), buffer_size); _ports.at(9) = bar_trig_port; #endif - PluginImpl* p = const_cast(_plugin); - p->plug_label("transport"); - assert(p->uri() == "ingen:transport_node"); - p->name("Ingen Transport Node (BROKEN)"); } -- cgit v1.2.1