From 1b1ef165d366073cc5024ba84ebed6ec276b8656 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 29 Mar 2021 15:36:09 +0200 Subject: [PATCH] zita-convolver: add some const'ness --- libs/zita-convolver/zita-convolver.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/zita-convolver/zita-convolver.cc b/libs/zita-convolver/zita-convolver.cc index 3341dd8a28..a0a5abadbd 100644 --- a/libs/zita-convolver/zita-convolver.cc +++ b/libs/zita-convolver/zita-convolver.cc @@ -758,9 +758,9 @@ void Convlevel::process (bool skip) { uint32_t i, i1, j, k, n1, n2, opi1, opi2; - Inpnode* X; - Macnode* M; - Outnode* Y; + Inpnode const* X; + Macnode const* M; + Outnode const* Y; fftwf_complex* ffta; fftwf_complex* fftb; float* inpd; @@ -865,9 +865,9 @@ Convlevel::process (bool skip) int Convlevel::readout (bool sync, uint32_t skipcnt) { - uint32_t i; - float * p, *q; - Outnode* Y; + uint32_t i; + float * p, *q; + Outnode const* Y; _outoffs += _outsize; if (_outoffs == _parsize) {