mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-12 03:55:22 +02:00
Fixes
This commit is contained in:
@ -100,6 +100,7 @@ namespace dsp::multirate {
|
||||
for (int i = 0; i < stageCount; i++) {
|
||||
tap<float> taps = taps::fromArray<float>(plan.stages[i].tapcount, plan.stages[i].taps);
|
||||
auto fir = new filter::DecimatingFIR<T, float>(NULL, taps, plan.stages[i].decimation);
|
||||
fir->out.free();
|
||||
decimTaps.push_back(taps);
|
||||
decimFirs.push_back(fir);
|
||||
}
|
||||
|
@ -27,6 +27,9 @@ namespace dsp::multirate {
|
||||
decim.init(NULL, 2);
|
||||
resamp.init(NULL, 1, 1, rtaps);
|
||||
|
||||
decim.out.free();
|
||||
resamp.out.free();
|
||||
|
||||
// Proper configuration
|
||||
reconfigure();
|
||||
|
||||
|
Reference in New Issue
Block a user