summaryrefslogtreecommitdiffstats
path: root/src/server/PortImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-08 19:34:41 +0100
committerDavid Robillard <d@drobilla.net>2019-12-08 20:59:06 +0100
commit4257d61b3622b1fe0ed8d67d14c6b204661a82d3 (patch)
tree1b503cadbbe7781b1cbf515fd4ce975f9ba815f5 /src/server/PortImpl.cpp
parent3be84c23321551588c023a648344f362af2740b4 (diff)
downloadingen-4257d61b3622b1fe0ed8d67d14c6b204661a82d3.tar.gz
ingen-4257d61b3622b1fe0ed8d67d14c6b204661a82d3.tar.bz2
ingen-4257d61b3622b1fe0ed8d67d14c6b204661a82d3.zip
Cleanup: Remove unused parameter names
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r--src/server/PortImpl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index 837662e0..5161750d 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -115,7 +115,7 @@ PortImpl::get_buffers(BufferFactory& bufs,
GetFn get,
const MPtr<Voices>& voices,
uint32_t poly,
- size_t num_in_arcs) const
+ size_t) const
{
for (uint32_t v = 0; v < poly; ++v) {
voices->at(v).buffer.reset();
@@ -127,7 +127,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);
}
@@ -211,7 +211,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();
@@ -382,7 +382,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;
@@ -410,7 +410,7 @@ PortImpl::recycle_buffers()
}
void
-PortImpl::set_is_driver_port(BufferFactory& bufs)
+PortImpl::set_is_driver_port(BufferFactory&)
{
_is_driver_port = true;
}