From c0af61632938f161dd2e15dec3c5260a3d5427ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Sep 2007 21:39:53 +0000 Subject: Work towards port monitoring and better (higher utilization) parallel execution. git-svn-id: http://svn.drobilla.net/lad/ingen@784 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/GraphObject.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libs/engine/GraphObject.hpp') diff --git a/src/libs/engine/GraphObject.hpp b/src/libs/engine/GraphObject.hpp index a2cfd5f0..3da9c64f 100644 --- a/src/libs/engine/GraphObject.hpp +++ b/src/libs/engine/GraphObject.hpp @@ -27,16 +27,16 @@ #include #include "types.hpp" -using std::string; using Raul::Atom; using Raul::Path; - namespace Raul { class Maid; } namespace Ingen { class Patch; +class ProcessContext; + /** An object on the audio graph - Patch, Node, Port, etc. * @@ -67,7 +67,7 @@ public: inline GraphObject* parent() const { return _parent; } inline const string& name() const { return _name; } - virtual void process(SampleCount nframes, FrameTime start, FrameTime end) = 0; + virtual void process(ProcessContext& events, SampleCount nframes, FrameTime start, FrameTime end) = 0; /** Rename */ virtual void set_path(const Path& new_path) { @@ -102,7 +102,7 @@ public: protected: GraphObject* _parent; - string _name; + std::string _name; bool _polyphonic; private: -- cgit v1.2.1