summaryrefslogtreecommitdiffstats
path: root/src/server/ProcessSlave.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-09 03:58:59 +0000
committerDavid Robillard <d@drobilla.net>2012-05-09 03:58:59 +0000
commitba2e3fac36f4db4ec4c27775f1a2246c111ce403 (patch)
treefc21cb90726b555f2c7fe3be796cd51cdd3fd88a /src/server/ProcessSlave.hpp
parentc0e6f7ecbf77ef59e7e4948dd96109417a4994d5 (diff)
downloadingen-ba2e3fac36f4db4ec4c27775f1a2246c111ce403.tar.gz
ingen-ba2e3fac36f4db4ec4c27775f1a2246c111ce403.tar.bz2
ingen-ba2e3fac36f4db4ec4c27775f1a2246c111ce403.zip
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
Diffstat (limited to 'src/server/ProcessSlave.hpp')
-rw-r--r--src/server/ProcessSlave.hpp7
1 files changed, 1 insertions, 6 deletions
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