summaryrefslogtreecommitdiffstats
path: root/src/server/DuplexPort.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/DuplexPort.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/DuplexPort.cpp')
-rw-r--r--src/server/DuplexPort.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp
index 2823da05..91d57df4 100644
--- a/src/server/DuplexPort.cpp
+++ b/src/server/DuplexPort.cpp
@@ -155,7 +155,7 @@ DuplexPort::setup_buffers(RunContext& ctx, BufferFactory& bufs, uint32_t poly)
void
DuplexPort::set_is_driver_port(BufferFactory& bufs)
{
- _voices->at(0).buffer = new Buffer(bufs, buffer_type(), _value.type(), 0, true, nullptr);
+ _voices->at(0).buffer = new Buffer(bufs, buffer_type(), _value.type(), 0, true);
PortImpl::set_is_driver_port(bufs);
}
@@ -167,7 +167,7 @@ DuplexPort::set_driver_buffer(void* buf, uint32_t capacity)
}
uint32_t
-DuplexPort::max_tail_poly(RunContext& context) const
+DuplexPort::max_tail_poly(RunContext&) const
{
return std::max(_poly, parent_graph()->internal_poly_process());
}