diff options
author | David Robillard <d@drobilla.net> | 2016-09-11 15:21:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-11 15:21:25 +0200 |
commit | f3546d49dbd2d673138387a87bc523c26dcece68 (patch) | |
tree | ede285a773fc565205f82a2b0a62ebba6ea552e0 /src/server/GraphImpl.hpp | |
parent | fb2744d4265d26fb98b19689b50d127f32c66eab (diff) | |
download | ingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.gz ingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.bz2 ingen-f3546d49dbd2d673138387a87bc523c26dcece68.zip |
Remove last vestiges of multiple run contexts
Diffstat (limited to 'src/server/GraphImpl.hpp')
-rw-r--r-- | src/server/GraphImpl.hpp | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/server/GraphImpl.hpp b/src/server/GraphImpl.hpp index bedf902c..7352da39 100644 --- a/src/server/GraphImpl.hpp +++ b/src/server/GraphImpl.hpp @@ -34,9 +34,8 @@ namespace Server { class ArcImpl; class CompiledGraph; -class Context; class Engine; -class ProcessContext; +class RunContext; /** A group of blocks in a graph, possibly polyphonic. * @@ -67,11 +66,11 @@ public: void activate(BufferFactory& bufs); void deactivate(); - void pre_process(ProcessContext& context); - void process(ProcessContext& context); - void run(ProcessContext& context); + void pre_process(RunContext& context); + void process(RunContext& context); + void run(RunContext& context); - void set_buffer_size(Context& context, + void set_buffer_size(RunContext& context, BufferFactory& bufs, LV2_URID type, uint32_t size); @@ -92,10 +91,10 @@ public: * \param poly Must be < the most recent value passed to prepare_internal_poly. * \param maid Any objects no longer needed will be pushed to this */ - bool apply_internal_poly(ProcessContext& context, - BufferFactory& bufs, - Raul::Maid& maid, - uint32_t poly); + bool apply_internal_poly(RunContext& context, + BufferFactory& bufs, + Raul::Maid& maid, + uint32_t poly); // Graph specific stuff not inherited from Block @@ -181,7 +180,7 @@ public: /** Whether to run this graph's DSP bits in the audio thread */ bool enabled() const { return _process; } void enable() { _process = true; } - void disable(ProcessContext& context); + void disable(RunContext& context); uint32_t internal_poly() const { return _poly_pre; } uint32_t internal_poly_process() const { return _poly_process; } |