summaryrefslogtreecommitdiffstats
path: root/src/server/PortImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 22:05:51 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 22:05:51 +0200
commit407099d7a30d01799824c7d4f341e0095e752919 (patch)
treedfbfd05e00ebf98c625fb00c7bc2075077273221 /src/server/PortImpl.cpp
parente0e437c0fd970103685db2f1d0c83a9c461ad87f (diff)
downloadingen-fix-unused-parameter-warnings.tar.gz
ingen-fix-unused-parameter-warnings.tar.bz2
ingen-fix-unused-parameter-warnings.zip
WIP: Fix unused parameter warningsfix-unused-parameter-warnings
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r--src/server/PortImpl.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index f03939d3..ee25395f 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -108,7 +108,7 @@ PortImpl::get_buffers(BufferFactory& bufs,
GetFn get,
const MPtr<Voices>& voices,
uint32_t poly,
- size_t num_in_arcs) const
+ size_t /*num_in_arcs*/) const
{
for (uint32_t v = 0; v < poly; ++v) {
voices->at(v).buffer.reset();
@@ -120,7 +120,7 @@ PortImpl::get_buffers(BufferFactory& bufs,
}
bool
-PortImpl::setup_buffers(RunContext& ctx, BufferFactory& bufs, uint32_t poly)
+PortImpl::setup_buffers(RunContext&, BufferFactory& bufs, uint32_t poly)
{
return get_buffers(bufs, &BufferFactory::claim_buffer, _voices, poly, 0);
}
@@ -204,7 +204,7 @@ PortImpl::deactivate()
}
void
-PortImpl::set_voices(RunContext& context, MPtr<Voices>&& voices)
+PortImpl::set_voices(RunContext&, MPtr<Voices>&& voices)
{
_voices = std::move(voices);
connect_buffers();
@@ -375,7 +375,7 @@ PortImpl::apply_poly(RunContext& context, uint32_t poly)
}
void
-PortImpl::set_buffer_size(RunContext& context, BufferFactory& bufs, size_t size)
+PortImpl::set_buffer_size(RunContext&, BufferFactory&, size_t size)
{
_buffer_size = size;
@@ -403,7 +403,7 @@ PortImpl::recycle_buffers()
}
void
-PortImpl::set_is_driver_port(BufferFactory& bufs)
+PortImpl::set_is_driver_port(BufferFactory&)
{
_is_driver_port = true;
}
@@ -555,6 +555,11 @@ PortImpl::pre_process(RunContext& context)
}
void
+PortImpl::pre_run(RunContext&)
+{
+}
+
+void
PortImpl::post_process(RunContext& context)
{
for (uint32_t v = 0; v < _poly; ++v) {