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/Patch.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libs/engine/Patch.hpp') diff --git a/src/libs/engine/Patch.hpp b/src/libs/engine/Patch.hpp index 32a02f76..75de93cb 100644 --- a/src/libs/engine/Patch.hpp +++ b/src/libs/engine/Patch.hpp @@ -54,7 +54,7 @@ public: void activate(); void deactivate(); - void process(SampleCount nframes, FrameTime start, FrameTime end); + void process(ProcessContext& events, SampleCount nframes, FrameTime start, FrameTime end); void set_buffer_size(size_t size); @@ -113,8 +113,8 @@ public: private: inline void compile_recursive(Node* n, CompiledPatch* output) const; - void process_parallel(SampleCount nframes, FrameTime start, FrameTime end); - void process_single(SampleCount nframes, FrameTime start, FrameTime end); + void process_parallel(ProcessContext& context, SampleCount nframes, FrameTime start, FrameTime end); + void process_single(ProcessContext& context, SampleCount nframes, FrameTime start, FrameTime end); Engine& _engine; uint32_t _internal_poly; -- cgit v1.2.1