From 48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Sep 2006 03:58:00 +0000 Subject: De-singleton-ified Engine Slight rework of Responder/ClientKey/ClientInterface for Requests git-svn-id: http://svn.drobilla.net/lad/ingen@119 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/Node.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/libs/engine/Node.h') diff --git a/src/libs/engine/Node.h b/src/libs/engine/Node.h index 6d1158b0..beabb7da 100644 --- a/src/libs/engine/Node.h +++ b/src/libs/engine/Node.h @@ -63,6 +63,13 @@ public: virtual void activate() = 0; virtual void deactivate() = 0; virtual bool activated() = 0; + + /** Run the node for @a nframes input/output. + * + * @a start and @a end are transport times: end is not redundant in the case + * of varispeed, where end-start != nframes. + */ + 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; @@ -91,7 +98,7 @@ public: /** The Patch this Node belongs to. */ virtual Patch* parent_patch() const = 0; - /** Information about what 'plugin' this Node is an instance of. + /** Information about the Plugin this Node is an instance of. * Not the best name - not all nodes come from plugins (ie Patch) */ virtual const Plugin* plugin() const = 0; -- cgit v1.2.1