mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-24 00:34:44 +01:00
optimize DecimatingFIRFilter
This commit is contained in:
parent
7190acfe9e
commit
39a65b51fb
@ -185,11 +185,11 @@ namespace dsp {
|
||||
if (i < t) {
|
||||
outBuf[id].i += tap * delayBuf[delayOff + i].i;
|
||||
outBuf[id].q += tap * delayBuf[delayOff + i].q;
|
||||
id++;
|
||||
continue;
|
||||
}
|
||||
outBuf[id].i += tap * inBuf[i - t].i;
|
||||
outBuf[id].q += tap * inBuf[i - t].q;
|
||||
else {
|
||||
outBuf[id].i += tap * inBuf[i - t].i;
|
||||
outBuf[id].q += tap * inBuf[i - t].q;
|
||||
}
|
||||
id++;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user