mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-09 18:45:22 +02:00
More DSP cleanup + Remove FastFFT option because it should never be used
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include "../processor.h"
|
||||
#include "../math/norm_phase_diff.h"
|
||||
#include "../math/normalize_phase.h"
|
||||
#include "../math/phasor.h"
|
||||
#include "phase_control_loop.h"
|
||||
|
||||
@ -64,7 +64,7 @@ namespace dsp::loop {
|
||||
virtual inline int process(int count, complex_t* in, complex_t* out) {
|
||||
for (int i = 0; i < count; i++) {
|
||||
out[i] = math::phasor(pcl.phase);
|
||||
pcl.advance(math::normPhaseDiff(in[i].phase() - pcl.phase));
|
||||
pcl.advance(math::normalizePhase(in[i].phase() - pcl.phase));
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
Reference in New Issue
Block a user