21 #define _USE_MATH_DEFINES 26 #define M_PI 3.14159265358979323846
Complex nextIQ()
Return next complex sample.
Fixed< IntType, IntBits > cos(Fixed< IntType, IntBits > const &x)
void nextIQMul(Real &i, Real &q)
multiply I,Q separately with next sample
Complex nextQI()
Return next complex sample (reversed)
static bool m_tableInitialized
Real next()
Return next real sample.
void setFreq(Real freq, Real sampleRate)
Complex getQI()
Return current complex sample (no phase increment, reversed)
Complex getIQ()
Return current complex sample (no phase increment)
static Real m_table[TableSize]
std::complex< Real > Complex
Real get()
Return current real sample (no phase increment)