summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Patch.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-08 03:58:00 +0000
committerDavid Robillard <d@drobilla.net>2006-09-08 03:58:00 +0000
commit48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa (patch)
tree9da4b4b075791ac1ec78b499dbcbec6101f54690 /src/libs/engine/Patch.h
parentacbe9a26ec3ab689e430225d15e95e73a7378aa9 (diff)
downloadingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.tar.gz
ingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.tar.bz2
ingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.zip
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
Diffstat (limited to 'src/libs/engine/Patch.h')
-rw-r--r--src/libs/engine/Patch.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libs/engine/Patch.h b/src/libs/engine/Patch.h
index 4a37d2d0..b6b709c4 100644
--- a/src/libs/engine/Patch.h
+++ b/src/libs/engine/Patch.h
@@ -54,11 +54,11 @@ public:
void activate();
void deactivate();
- void process(SampleCount nframes);
+ void process(SampleCount nframes, FrameTime start, FrameTime end);
//void send_creation_messages(ClientInterface* client) const;
- void add_to_store();
+ void add_to_store(ObjectStore* store);
void remove_from_store();
void set_path(const Path& new_path);
@@ -91,8 +91,9 @@ public:
Array<Node*>* build_process_order() const;
/** Whether to run this patch's DSP bits in the audio thread */
- bool process() const { return _process; }
- void process(bool p);
+ bool enabled() const { return _process; }
+ void enable() { _process = true; }
+ void disable();
size_t internal_poly() const { return _internal_poly; }