diff options
Diffstat (limited to 'src/libs/engine/PostProcessor.h')
-rw-r--r-- | src/libs/engine/PostProcessor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/engine/PostProcessor.h b/src/libs/engine/PostProcessor.h index 2ae8f28b..e29175ee 100644 --- a/src/libs/engine/PostProcessor.h +++ b/src/libs/engine/PostProcessor.h @@ -20,9 +20,10 @@ #include <pthread.h> #include "types.h" #include "util/Queue.h" -#include "util/Semaphore.h" #include "Slave.h" +class Maid; + namespace Ingen { class Event; @@ -39,7 +40,7 @@ class Event; class PostProcessor : public Slave { public: - PostProcessor(size_t queue_size); + PostProcessor(Maid& maid, size_t queue_size); /** Push an event on to the process queue, realtime-safe, not thread-safe. */ inline void push(Event* const ev) { _events.push(ev); } @@ -49,6 +50,7 @@ private: PostProcessor(const PostProcessor&); PostProcessor& operator=(const PostProcessor&); + Maid& _maid; Queue<Event*> _events; virtual void _whipped(); }; |