diff options
author | David Robillard <d@drobilla.net> | 2018-09-23 22:05:51 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-23 22:05:51 +0200 |
commit | 407099d7a30d01799824c7d4f341e0095e752919 (patch) | |
tree | dfbfd05e00ebf98c625fb00c7bc2075077273221 /src/server/DuplexPort.cpp | |
parent | e0e437c0fd970103685db2f1d0c83a9c461ad87f (diff) | |
download | ingen-407099d7a30d01799824c7d4f341e0095e752919.tar.gz ingen-407099d7a30d01799824c7d4f341e0095e752919.tar.bz2 ingen-407099d7a30d01799824c7d4f341e0095e752919.zip |
WIP: Fix unused parameter warningsfix-unused-parameter-warnings
Diffstat (limited to 'src/server/DuplexPort.cpp')
-rw-r--r-- | src/server/DuplexPort.cpp | 4 |
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()); } |