Attempting to trace the occasional crashes seen by a few users.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3620 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2014-01-07 17:14:59 +00:00
parent a3fa7fd539
commit e39c3f468b
7 changed files with 80 additions and 77 deletions
+1
View File
@@ -85,6 +85,7 @@ void Modulator::open (unsigned symbolsLength, double framesPerSymbol, unsigned f
qint64 Modulator::readData (char * data, qint64 maxSize)
{
if(maxSize==0) return 0;
Q_ASSERT (!(maxSize % static_cast<qint64> (bytesPerFrame ()))); // no torn frames
Q_ASSERT (isOpen ());