summaryrefslogtreecommitdiffstats
path: root/src/server/DuplexPort.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 19:06:25 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 19:06:25 +0200
commit04b4d70f38402b1e4e4751157f42eb558bd60f9c (patch)
tree7046ce56d1fb498f5e8720c5fb59ae9895fecb39 /src/server/DuplexPort.hpp
parent394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (diff)
downloadingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.gz
ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.bz2
ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.zip
Use override specifiers
Diffstat (limited to 'src/server/DuplexPort.hpp')
-rw-r--r--src/server/DuplexPort.hpp24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/server/DuplexPort.hpp b/src/server/DuplexPort.hpp
index db97e7fb..0edd487f 100644
--- a/src/server/DuplexPort.hpp
+++ b/src/server/DuplexPort.hpp
@@ -59,23 +59,23 @@ public:
void inherit_neighbour(const PortImpl* port,
Properties& remove,
- Properties& add);
+ Properties& add) override;
- void on_property(const URI& uri, const Atom& value);
+ void on_property(const URI& uri, const Atom& value) override;
- uint32_t max_tail_poly(RunContext& context) const;
+ uint32_t max_tail_poly(RunContext& context) const override;
- bool prepare_poly(BufferFactory& bufs, uint32_t poly);
+ bool prepare_poly(BufferFactory& bufs, uint32_t poly) override;
- bool apply_poly(RunContext& context, uint32_t poly);
+ bool apply_poly(RunContext& context, uint32_t poly) override;
bool get_buffers(BufferFactory& bufs,
PortImpl::GetFn get,
const MPtr<Voices>& voices,
uint32_t poly,
- size_t num_in_arcs) const;
+ size_t num_in_arcs) const override;
- virtual void set_is_driver_port(BufferFactory& bufs);
+ void set_is_driver_port(BufferFactory& bufs) override;
/** Set the external driver-provided buffer.
*
@@ -84,12 +84,14 @@ public:
*/
void set_driver_buffer(void* buf, uint32_t capacity);
- bool setup_buffers(RunContext& ctx, BufferFactory& bufs, uint32_t poly);
+ bool
+ setup_buffers(RunContext& ctx, BufferFactory& bufs, uint32_t poly) override;
- void pre_process(RunContext& context);
- void post_process(RunContext& context);
+ void pre_process(RunContext& context) override;
+ 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;
};
} // namespace server