diff options
Diffstat (limited to 'src/libs/engine/TransportNode.cpp')
-rw-r--r-- | src/libs/engine/TransportNode.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
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 <jack/transport.h> #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<PluginImpl*>(_plugin); - p->plug_label("transport"); - assert(p->uri() == "ingen:transport_node"); - p->name("Ingen Transport Node (BROKEN)"); } |