mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
ATV plugins: Windows build updates
This commit is contained in:
parent
26900d4b78
commit
b677138b45
@ -257,9 +257,13 @@ void ATVDemod::demod(Complex& c)
|
||||
|
||||
//********** demodulation **********
|
||||
|
||||
#if defined(_WINDOWS_)
|
||||
float fltI = m_objRFRunning.m_blnFFTFiltering ? m_DSBFilterBuffer[m_DSBFilterBufferIndex-1].real() : c.real();
|
||||
float fltQ = m_objRFRunning.m_blnFFTFiltering ? m_DSBFilterBuffer[m_DSBFilterBufferIndex-1].imag() : c.imag();
|
||||
#else
|
||||
float& fltI = m_objRFRunning.m_blnFFTFiltering ? m_DSBFilterBuffer[m_DSBFilterBufferIndex-1].real() : c.real();
|
||||
float& fltQ = m_objRFRunning.m_blnFFTFiltering ? m_DSBFilterBuffer[m_DSBFilterBufferIndex-1].imag() : c.imag();
|
||||
|
||||
#endif
|
||||
double magSq = fltI*fltI + fltQ*fltQ;
|
||||
m_objMagSqAverage.feed(magSq);
|
||||
|
||||
|
@ -64,6 +64,7 @@ SOURCES += mainwindow.cpp\
|
||||
dsp/ncof.cpp\
|
||||
dsp/pidcontroller.cpp\
|
||||
dsp/phaselock.cpp\
|
||||
dsp/recursivefilters.cpp\
|
||||
dsp/samplesinkfifo.cpp\
|
||||
dsp/samplesourcefifo.cpp\
|
||||
dsp/samplesinkfifodoublebuffered.cpp\
|
||||
@ -169,6 +170,7 @@ HEADERS += mainwindow.h\
|
||||
dsp/phasediscri.h\
|
||||
dsp/phaselock.h\
|
||||
dsp/pidcontroller.h\
|
||||
dsp/recursivefilters.h\
|
||||
dsp/samplesinkfifo.h\
|
||||
dsp/samplesourcefifo.h\
|
||||
dsp/samplesinkfifodoublebuffered.h\
|
||||
|
Loading…
Reference in New Issue
Block a user