summaryrefslogtreecommitdiff
path: root/Detector/Detector.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2020-09-28 23:28:26 +0200
committerChristoph Berg <myon@debian.org>2020-09-28 23:28:26 +0200
commitc345880e5818351aec994d60cfb9a42351a4a6bd (patch)
tree82e554ce75a62e7cca37968ee6e8ce08972eef04 /Detector/Detector.cpp
parentd55aefc872a0b03ac40c44e8b7d635dc0fa19f4e (diff)
parent7aa3c56b01768ba7d38fccedc17b30a4046b3fbb (diff)
Update upstream source from tag 'upstream/2.3.0_rc1+repack'
Update to upstream version '2.3.0~rc1+repack' with Debian dir 278ece20e94e89020b1ea45fb83e61a2cecbb31e
Diffstat (limited to 'Detector/Detector.cpp')
-rw-r--r--Detector/Detector.cpp9
1 files changed, 4 insertions, 5 deletions
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;
}