summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/GraphObject.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/GraphObject.hpp')
-rw-r--r--src/libs/engine/GraphObject.hpp8
1 files changed, 4 insertions, 4 deletions
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 <raul/Atom.hpp>
#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: