diff options
Diffstat (limited to 'Detector')
| -rw-r--r-- | Detector/Detector.cpp | 9 | ||||
| -rw-r--r-- | Detector/Detector.pri | 3 |
2 files changed, 7 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; } diff --git a/Detector/Detector.pri b/Detector/Detector.pri new file mode 100644 index 00000000..a9805119 --- /dev/null +++ b/Detector/Detector.pri @@ -0,0 +1,3 @@ +SOURCES += Detector/Detector.cpp + +HEADERS += Detector/Detector.hpp |
