summaryrefslogtreecommitdiffstats
path: root/src/server/internals/Note.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-11 15:21:25 +0200
committerDavid Robillard <d@drobilla.net>2016-09-11 15:21:25 +0200
commitf3546d49dbd2d673138387a87bc523c26dcece68 (patch)
treeede285a773fc565205f82a2b0a62ebba6ea552e0 /src/server/internals/Note.hpp
parentfb2744d4265d26fb98b19689b50d127f32c66eab (diff)
downloadingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.gz
ingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.bz2
ingen-f3546d49dbd2d673138387a87bc523c26dcece68.zip
Remove last vestiges of multiple run contexts
Diffstat (limited to 'src/server/internals/Note.hpp')
-rw-r--r--src/server/internals/Note.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/server/internals/Note.hpp b/src/server/internals/Note.hpp
index 6e993f06..08d1b358 100644
--- a/src/server/internals/Note.hpp
+++ b/src/server/internals/Note.hpp
@@ -48,20 +48,20 @@ public:
~NoteNode();
bool prepare_poly(BufferFactory& bufs, uint32_t poly);
- bool apply_poly(ProcessContext& context, Raul::Maid& maid, uint32_t poly);
+ bool apply_poly(RunContext& context, Raul::Maid& maid, uint32_t poly);
- void run(ProcessContext& context);
+ void run(RunContext& context);
- void note_on(ProcessContext& context, uint8_t note_num, uint8_t velocity, FrameTime time);
- void note_off(ProcessContext& context, uint8_t note_num, FrameTime time);
- void all_notes_off(ProcessContext& context, FrameTime time);
+ void note_on(RunContext& context, uint8_t note_num, uint8_t velocity, FrameTime time);
+ void note_off(RunContext& context, uint8_t note_num, FrameTime time);
+ void all_notes_off(RunContext& context, FrameTime time);
- void sustain_on(ProcessContext& context, FrameTime time);
- void sustain_off(ProcessContext& context, FrameTime time);
+ void sustain_on(RunContext& context, FrameTime time);
+ void sustain_off(RunContext& context, FrameTime time);
- void bend(ProcessContext& context, FrameTime time, float amount);
- void note_pressure(ProcessContext& context, FrameTime time, uint8_t note_num, float amount);
- void channel_pressure(ProcessContext& context, FrameTime time, float amount);
+ void bend(RunContext& context, FrameTime time, float amount);
+ void note_pressure(RunContext& context, FrameTime time, uint8_t note_num, float amount);
+ void channel_pressure(RunContext& context, FrameTime time, float amount);
static InternalPlugin* internal_plugin(URIs& uris);
@@ -84,7 +84,7 @@ private:
SampleCount time;
};
- void free_voice(ProcessContext& context, uint32_t voice, FrameTime time);
+ void free_voice(RunContext& context, uint32_t voice, FrameTime time);
Raul::Array<Voice>* _voices;
Raul::Array<Voice>* _prepared_voices;