From 7aa3c56b01768ba7d38fccedc17b30a4046b3fbb Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 28 Sep 2020 23:28:13 +0200 Subject: New upstream version 2.3.0~rc1+repack --- Detector/Detector.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Detector/Detector.cpp') diff --git a/Detector/Detector.cpp b/Detector/Detector.cpp index 06b9c6b2..164db2ab 100644 --- a/Detector/Detector.cpp +++ b/Detector/Detector.cpp @@ -36,7 +36,7 @@ void Detector::setBlockSize (unsigned n) bool Detector::reset () { clear (); - // don't call base call reset because it calls seek(0) which causes + // don't call base class reset because it calls seek(0) which causes // a warning return isOpen (); } @@ -119,8 +119,7 @@ qint64 Detector::writeData (char const * data, qint64 maxSize) remaining -= numFramesProcessed; } - - - return maxSize; // we drop any data past the end of the buffer on - // the floor until the next period starts + // we drop any data past the end of the buffer on the floor until + // the next period starts + return maxSize; } -- cgit v1.2.3