Always start audio from zero angle

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx-1.6@6251 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2015-12-09 01:09:02 +00:00
parent 85c2903db4
commit 0de650659d

View File

@ -61,6 +61,7 @@ void Modulator::start (unsigned symbolsLength, double framesPerSymbol,
m_symbolsLength = symbolsLength; m_symbolsLength = symbolsLength;
m_isym0 = std::numeric_limits<unsigned>::max (); // big number m_isym0 = std::numeric_limits<unsigned>::max (); // big number
m_frequency0 = 0.; m_frequency0 = 0.;
m_phi = 0.;
m_addNoise = dBSNR < 0.; m_addNoise = dBSNR < 0.;
m_nsps = framesPerSymbol; m_nsps = framesPerSymbol;
m_frequency = frequency; m_frequency = frequency;