diff options
author | David Robillard <d@drobilla.net> | 2012-07-31 00:47:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-31 00:47:40 +0000 |
commit | 66ac730782803a47ae4977d2db2407126005f4bd (patch) | |
tree | db31b21dff549897aa5cc730d028913959aa930d /src/server/ProcessContext.hpp | |
parent | 88f9a3bf23fc629385978633a8764d74788e1fdc (diff) | |
download | ingen-66ac730782803a47ae4977d2db2407126005f4bd.tar.gz ingen-66ac730782803a47ae4977d2db2407126005f4bd.tar.bz2 ingen-66ac730782803a47ae4977d2db2407126005f4bd.zip |
Remove rotten parallelism stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4581 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/ProcessContext.hpp')
-rw-r--r-- | src/server/ProcessContext.hpp | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/src/server/ProcessContext.hpp b/src/server/ProcessContext.hpp index 9e0115e6..75fdcb83 100644 --- a/src/server/ProcessContext.hpp +++ b/src/server/ProcessContext.hpp @@ -17,33 +17,24 @@ #ifndef INGEN_ENGINE_PROCESSCONTEXT_HPP #define INGEN_ENGINE_PROCESSCONTEXT_HPP -#include <vector> - #include "Context.hpp" namespace Ingen { namespace Server { -class ProcessSlave; - /** Context of a process() call (the audio context). + * + * Currently this class has no implementation to speak of, but the type is used + * as a parameter for audio context methods to make their context clear. + * * \ingroup engine */ class ProcessContext : public Context { public: - typedef std::vector<ProcessSlave*> Slaves; - - const Slaves& slaves() const { return _slaves; } - Slaves& slaves() { return _slaves; } - - void activate(uint32_t parallelism, bool sched_rt); - -private: - friend class Engine; - explicit ProcessContext(Engine& engine); - - Slaves _slaves; + ProcessContext(Engine& engine) + : Context(engine, AUDIO) + {} }; } // namespace Server |