From ba2e3fac36f4db4ec4c27775f1a2246c111ce403 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 9 May 2012 03:58:59 +0000 Subject: Factor audio thread execution stuff out of JackDriver into Engine::run(). Towards an Ingen library interface usable on user-provided buffers. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4326 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/ProcessSlave.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/server/ProcessSlave.hpp') diff --git a/src/server/ProcessSlave.hpp b/src/server/ProcessSlave.hpp index 99ff116f..4bafb1c7 100644 --- a/src/server/ProcessSlave.hpp +++ b/src/server/ProcessSlave.hpp @@ -42,7 +42,6 @@ public: , _index(0) , _state(STATE_FINISHED) , _compiled_patch(NULL) - , _context(NULL) { std::stringstream ss; ss << "Process Slave "; @@ -69,7 +68,6 @@ public: _index = start_index; _state = STATE_RUNNING; _compiled_patch = compiled_patch; - _context = &context; Raul::Slave::whip(); } @@ -79,9 +77,7 @@ public: _state.compare_and_exchange(STATE_RUNNING, STATE_FINISH_SIGNALLED); } - inline uint32_t id() const { return _id; } - inline const ProcessContext& context() const { return _engine.driver()->context(); } - inline ProcessContext& context() { return _engine.driver()->context(); } + inline uint32_t id() const { return _id; } private: void _whipped(); @@ -97,7 +93,6 @@ private: uint32_t _index; Raul::AtomicInt _state; CompiledPatch* _compiled_patch; - ProcessContext* _context; }; } // namespace Server -- cgit v1.2.1