diff options
author | David Robillard <d@drobilla.net> | 2018-09-23 19:06:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-23 19:06:25 +0200 |
commit | 04b4d70f38402b1e4e4751157f42eb558bd60f9c (patch) | |
tree | 7046ce56d1fb498f5e8720c5fb59ae9895fecb39 /src/server/InputPort.hpp | |
parent | 394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (diff) | |
download | ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.gz ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.bz2 ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.zip |
Use override specifiers
Diffstat (limited to 'src/server/InputPort.hpp')
-rw-r--r-- | src/server/InputPort.hpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp index 92756b57..edb2a3a7 100644 --- a/src/server/InputPort.hpp +++ b/src/server/InputPort.hpp @@ -65,7 +65,7 @@ public: /** Return the maximum polyphony of an output connected to this input. */ virtual uint32_t max_tail_poly(RunContext& context) const; - bool apply_poly(RunContext& context, uint32_t poly); + bool apply_poly(RunContext& context, uint32_t poly) override; /** Add an arc. Realtime safe. * @@ -92,20 +92,22 @@ public: MPtr<Voices>& voices, uint32_t poly) const; - bool setup_buffers(RunContext& ctx, BufferFactory& bufs, uint32_t poly); + bool + setup_buffers(RunContext& ctx, BufferFactory& bufs, uint32_t poly) override; /** Set up buffer pointers. */ - void pre_process(RunContext& context); + void pre_process(RunContext& context) override; /** Prepare buffer for access, mixing if necessary. */ - void pre_run(RunContext& context); + void pre_run(RunContext& context) override; /** Prepare buffer for next process cycle. */ - void post_process(RunContext& context); + void post_process(RunContext& context) override; - SampleCount next_value_offset(SampleCount offset, SampleCount end) const; + SampleCount + next_value_offset(SampleCount offset, SampleCount end) const override; - size_t num_arcs() const { return _num_arcs; } + size_t num_arcs() const override { return _num_arcs; } void increment_num_arcs() { ++_num_arcs; } void decrement_num_arcs() { --_num_arcs; } @@ -116,7 +118,7 @@ protected: PortImpl::GetFn get, const MPtr<Voices>& voices, uint32_t poly, - size_t num_in_arcs) const; + size_t num_in_arcs) const override; size_t _num_arcs; ///< Pre-process thread Arcs _arcs; ///< Audio thread |