diff options
Diffstat (limited to 'src/server/PortAudioDriver.cpp')
-rw-r--r-- | src/server/PortAudioDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/PortAudioDriver.cpp b/src/server/PortAudioDriver.cpp index de8c36cb..8d4a4c63 100644 --- a/src/server/PortAudioDriver.cpp +++ b/src/server/PortAudioDriver.cpp @@ -243,12 +243,12 @@ PortAudioDriver::pre_process_port(RunContext& context, } if (port->is_input()) { - const float* const* const ins = + const auto* const* const ins = static_cast<const float* const*>(inputs); port->set_buffer(const_cast<float*>(ins[port->driver_index()])); } else { - float* const* const outs = static_cast<float* const*>(inputs); + auto* const* const outs = static_cast<float* const*>(inputs); port->set_buffer(outs[port->driver_index()]); memset(port->buffer(), 0, _block_length * sizeof(float)); |