summaryrefslogtreecommitdiffstats
path: root/src/server/InternalPlugin.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-11-16 04:26:45 +0000
committerDavid Robillard <d@drobilla.net>2012-11-16 04:26:45 +0000
commite5943aa05fd46771f1ff7009c8971f1294c9d791 (patch)
tree828fb9156f373149883a81dd0638991b0b9ba851 /src/server/InternalPlugin.cpp
parentefd2fb1315413bb456cf5a7dc9a61513e15c8035 (diff)
downloadingen-e5943aa05fd46771f1ff7009c8971f1294c9d791.tar.gz
ingen-e5943aa05fd46771f1ff7009c8971f1294c9d791.tar.bz2
ingen-e5943aa05fd46771f1ff7009c8971f1294c9d791.zip
Add time internal that sends Jack transport updates as LV2 time positions.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4819 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/InternalPlugin.cpp')
-rw-r--r--src/server/InternalPlugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/InternalPlugin.cpp b/src/server/InternalPlugin.cpp
index 60d3d1a7..dc64fb73 100644
--- a/src/server/InternalPlugin.cpp
+++ b/src/server/InternalPlugin.cpp
@@ -18,6 +18,7 @@
#include "internals/Controller.hpp"
#include "internals/Delay.hpp"
#include "internals/Note.hpp"
+#include "internals/Time.hpp"
#include "internals/Trigger.hpp"
#include "Driver.hpp"
@@ -55,6 +56,8 @@ InternalPlugin::instantiate(BufferFactory& bufs,
return new DelayNode(this, bufs, symbol, polyphonic, parent, srate);
} else if (uri() == NS_INTERNALS "Note") {
return new NoteNode(this, bufs, symbol, polyphonic, parent, srate);
+ } else if (uri() == NS_INTERNALS "Time") {
+ return new TimeNode(this, bufs, symbol, polyphonic, parent, srate);
} else if (uri() == NS_INTERNALS "Trigger") {
return new TriggerNode(this, bufs, symbol, polyphonic, parent, srate);
} else {