From 032d526710d174b30e0c9f33ff9f7e60e99fb172 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 20 Jun 2006 21:56:12 +0000 Subject: Renamed OmObject GraphObject; Merged Port::prepare_buffers and Node::run into GraphObject::process. git-svn-id: http://svn.drobilla.net/lad/grauph@69 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/Port.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libs/engine/Port.h') diff --git a/src/libs/engine/Port.h b/src/libs/engine/Port.h index 37603fcb..4d8160b4 100644 --- a/src/libs/engine/Port.h +++ b/src/libs/engine/Port.h @@ -20,7 +20,7 @@ #include #include #include "types.h" -#include "OmObject.h" +#include "GraphObject.h" #include "DataType.h" using std::string; @@ -38,7 +38,7 @@ class Node; * * \ingroup engine */ -class Port : public OmObject +class Port : public GraphObject { public: virtual ~Port() {} @@ -50,7 +50,7 @@ public: Node* parent_node() const { return (Node*)_parent; } /** Called once per process cycle */ - virtual void prepare_buffers(size_t nframes) = 0; + virtual void process(samplecount nframes) = 0; /** Empty buffer contents completely (ie silence) */ virtual void clear_buffers() = 0; -- cgit v1.2.1