summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Node.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-08 06:04:32 +0000
committerDavid Robillard <d@drobilla.net>2007-04-08 06:04:32 +0000
commite96c36c1a7abb062e36efc0ac95c35fedcef922e (patch)
tree826d5caa0392201472d12c02a1c3df4cf7b275be /src/libs/engine/Node.h
parent7d69e89f22304e37fa325ce4f39a374a02072a69 (diff)
downloadingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.gz
ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.bz2
ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.zip
De-template-ification of port types (req. for LV2 MIDI, but nice code size reduction).
LV2 MIDI patching support (LV2 style MIDI throughout, inc. internal plugins). git-svn-id: http://svn.drobilla.net/lad/ingen@415 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Node.h')
-rw-r--r--src/libs/engine/Node.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/libs/engine/Node.h b/src/libs/engine/Node.h
index 852751fb..4fe43d03 100644
--- a/src/libs/engine/Node.h
+++ b/src/libs/engine/Node.h
@@ -30,13 +30,12 @@ namespace Raul { template <typename T> class List; }
namespace Ingen {
-class Port;
-template <typename T> class OutputPort;
+class Buffer;
class Plugin;
class Patch;
-namespace Shared {
- class ClientInterface;
-}
+class Port;
+class OutputPort;
+namespace Shared { class ClientInterface; }
/** A Node (or "module") in a Patch (which is also a Node).
@@ -73,7 +72,7 @@ public:
*/
virtual void process(SampleCount nframes, FrameTime start, FrameTime end) = 0;
- virtual void set_port_buffer(size_t voice, size_t port_num, void* buf) = 0;
+ virtual void set_port_buffer(size_t voice, size_t port_num, Buffer* buf) = 0;
// FIXME: Only used by client senders. Remove?
virtual const Raul::Array<Port*>& ports() const = 0;