diff options
Diffstat (limited to 'alc/effects/convolution.cpp')
-rw-r--r-- | alc/effects/convolution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/convolution.cpp b/alc/effects/convolution.cpp index bb8e31d1..2a0a0fad 100644 --- a/alc/effects/convolution.cpp +++ b/alc/effects/convolution.cpp @@ -397,8 +397,8 @@ void ConvolutionState::process(const size_t samplesToDo, for(size_t c{0};c < chans.size();++c) { auto buf_iter = chans[c].mBuffer.begin() + base; - apply_fir({std::addressof(*buf_iter), todo}, mInput.cbegin()+1 + mFifoPos, - mFilter[c].cbegin()); + apply_fir({std::addressof(*buf_iter), todo}, mInput.data()+1 + mFifoPos, + mFilter[c].data()); auto fifo_iter = mOutput[c].begin() + mFifoPos; std::transform(fifo_iter, fifo_iter+todo, buf_iter, buf_iter, std::plus<>{}); |