From 982721c5032771433e134d129bf085704e176513 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 19 Sep 2013 16:53:47 +0000 Subject: [PATCH] Commented out input sample buffer zeroing. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3571 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- Detector.cpp | 4 ++-- mainwindow.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Detector.cpp b/Detector.cpp index 3685235c1..2eda83781 100644 --- a/Detector.cpp +++ b/Detector.cpp @@ -31,8 +31,8 @@ void Detector::clear () // jt9com_.kin = qMin ((msInPeriod * m_frameRate) / 1000, static_cast (sizeof (jt9com_.d2) / sizeof (jt9com_.d2[0]))); jt9com_.kin = 0; - // fill buffer with zeros - qFill (jt9com_.d2, jt9com_.d2 + sizeof (jt9com_.d2) / sizeof (jt9com_.d2[0]), 0); + // fill buffer with zeros (G4WJS commented out because it might cause decoder hangs) + // qFill (jt9com_.d2, jt9com_.d2 + sizeof (jt9com_.d2) / sizeof (jt9com_.d2[0]), 0); } qint64 Detector::writeData (char const * data, qint64 maxSize) diff --git a/mainwindow.cpp b/mainwindow.cpp index bd8b4d4f2..c40f18436 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//--------------------------------------------------------------- MainWindow +//---------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h"