summaryrefslogtreecommitdiffstats
path: root/src/server/ingen_lv2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/ingen_lv2.cpp')
-rw-r--r--src/server/ingen_lv2.cpp24
1 files changed, 10 insertions, 14 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index 04cc5a33..3d9421e9 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -153,7 +153,7 @@ public:
}
}
- void post_process_port(RunContext& context, EnginePort* port) {
+ void post_process_port(RunContext&, EnginePort* port) {
DuplexPort* graph_port = port->graph_port();
// No copying necessary, host buffers are used directly
@@ -206,7 +206,7 @@ public:
}
/** Add a port. Called only during init or restore. */
- void add_port(RunContext& context, EnginePort* port) override {
+ void add_port(RunContext&, EnginePort* port) override {
const uint32_t index = port->graph_port()->index();
if (_ports.size() <= index) {
_ports.resize(index + 1);
@@ -215,32 +215,29 @@ public:
}
/** Remove a port. Called only during init or restore. */
- void remove_port(RunContext& context, EnginePort* port) override {
+ void remove_port(RunContext&, EnginePort* port) override {
const uint32_t index = port->graph_port()->index();
_ports[index] = nullptr;
}
/** Unused since LV2 has no dynamic ports. */
- void register_port(EnginePort& port) override {}
+ void register_port(EnginePort&) override {}
/** Unused since LV2 has no dynamic ports. */
- void unregister_port(EnginePort& port) override {}
+ void unregister_port(EnginePort&) override {}
/** Unused since LV2 has no dynamic ports. */
- void rename_port(const Raul::Path& old_path,
- const Raul::Path& new_path) override {}
+ void rename_port(const Raul::Path&, const Raul::Path&) override {}
/** Unused since LV2 has no dynamic ports. */
- void port_property(const Raul::Path& path,
- const URI& uri,
- const Atom& value) override {}
+ void port_property(const Raul::Path&, const URI&, const Atom&) override {}
EnginePort* create_port(DuplexPort* graph_port) override {
graph_port->set_is_driver_port(*_engine.buffer_factory());
return new EnginePort(graph_port);
}
- void append_time_events(RunContext& context, Buffer& buffer) override {
+ void append_time_events(RunContext&, Buffer& buffer) override {
const URIs& uris = _engine.world()->uris();
LV2_Atom_Sequence* seq = (LV2_Atom_Sequence*)_ports[0]->buffer();
LV2_ATOM_SEQUENCE_FOREACH(seq, ev) {
@@ -309,7 +306,7 @@ public:
free(buf);
}
- void flush_to_ui(RunContext& context) {
+ void flush_to_ui(RunContext&) {
if (_ports.size() < 2) {
_engine.log().rt_error("Standard control ports are not present\n");
return;
@@ -829,8 +826,7 @@ lib_get_plugin(LV2_Lib_Handle handle, uint32_t index)
/** LV2 plugin library entry point */
LV2_SYMBOL_EXPORT
const LV2_Lib_Descriptor*
-lv2_lib_descriptor(const char* bundle_path,
- const LV2_Feature*const* features)
+lv2_lib_descriptor(const char* bundle_path, const LV2_Feature*const*)
{
static const uint32_t desc_size = sizeof(LV2_Lib_Descriptor);
Lib* lib = new Lib(bundle_path);