13
0

zita-convolver: add some const'ness

This commit is contained in:
Robin Gareus 2021-03-29 15:36:09 +02:00
parent a270dc76d6
commit 1b1ef165d3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -758,9 +758,9 @@ void
Convlevel::process (bool skip) Convlevel::process (bool skip)
{ {
uint32_t i, i1, j, k, n1, n2, opi1, opi2; uint32_t i, i1, j, k, n1, n2, opi1, opi2;
Inpnode* X; Inpnode const* X;
Macnode* M; Macnode const* M;
Outnode* Y; Outnode const* Y;
fftwf_complex* ffta; fftwf_complex* ffta;
fftwf_complex* fftb; fftwf_complex* fftb;
float* inpd; float* inpd;
@ -865,9 +865,9 @@ Convlevel::process (bool skip)
int int
Convlevel::readout (bool sync, uint32_t skipcnt) Convlevel::readout (bool sync, uint32_t skipcnt)
{ {
uint32_t i; uint32_t i;
float * p, *q; float * p, *q;
Outnode* Y; Outnode const* Y;
_outoffs += _outsize; _outoffs += _outsize;
if (_outoffs == _parsize) { if (_outoffs == _parsize) {