mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-12 03:55:22 +02:00
attemt at a CI build with new DSP
This commit is contained in:
@ -60,8 +60,8 @@ namespace dsp::multirate {
|
||||
int last = stageCount - 1;
|
||||
for (int i = 0; i < stageCount; i++) {
|
||||
auto fir = decimFirs[i];
|
||||
count = fir->process(count, data, (i == last) ? out : fir->out.writeBuf);
|
||||
data = fir->out.writeBuf;
|
||||
count = fir->process(count, data, out);
|
||||
data = out;
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
@ -63,8 +63,8 @@ namespace dsp::multirate {
|
||||
inline int process(int count, const T* in, T* out) {
|
||||
switch(mode) {
|
||||
case Mode::BOTH:
|
||||
count = decim.process(count, in, decim.out.writeBuf);
|
||||
return resamp.process(count, decim.out.writeBuf, out);
|
||||
count = decim.process(count, in, out);
|
||||
return resamp.process(count, out, out);
|
||||
case Mode::DECIM_ONLY:
|
||||
return decim.process(count, in, out);
|
||||
case Mode::RESAMP_ONLY:
|
||||
|
Reference in New Issue
Block a user