mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 12:07:49 +02:00
More DSP cleanup + Remove FastFFT option because it should never be used
This commit is contained in:
@ -39,10 +39,10 @@ namespace dsp::loop {
|
||||
const float PHASE4 = -0.29067248091319986;
|
||||
|
||||
float phase = val.phase();
|
||||
float dp1 = math::normPhaseDiff(phase - PHASE1);
|
||||
float dp2 = math::normPhaseDiff(phase - PHASE2);
|
||||
float dp3 = math::normPhaseDiff(phase - PHASE3);
|
||||
float dp4 = math::normPhaseDiff(phase - PHASE4);
|
||||
float dp1 = math::normalizePhase(phase - PHASE1);
|
||||
float dp2 = math::normalizePhase(phase - PHASE2);
|
||||
float dp3 = math::normalizePhase(phase - PHASE3);
|
||||
float dp4 = math::normalizePhase(phase - PHASE4);
|
||||
float lowest = dp1;
|
||||
if (fabsf(dp2) < fabsf(lowest)) { lowest = dp2; }
|
||||
if (fabsf(dp3) < fabsf(lowest)) { lowest = dp3; }
|
||||
|
@ -112,6 +112,7 @@ public:
|
||||
}
|
||||
|
||||
~RadioModule() {
|
||||
core::modComManager.unregisterInterface(name);
|
||||
gui::menu.removeEntry(name);
|
||||
stream.stop();
|
||||
if (enabled) {
|
||||
|
Reference in New Issue
Block a user