]> git.sesse.net Git - kdenlive/blobdiff - src/lib/audio/audioCorrelationInfo.cpp
use only kDebug/qDebug, no cout
[kdenlive] / src / lib / audio / audioCorrelationInfo.cpp
index db438bdd0a9542935ee909c8978c5b543353aee7..6aaf27d0deb59008f495a9b74cc210837cf7ed7a 100644 (file)
@@ -9,7 +9,6 @@
  ***************************************************************************/
 
 #include "audioCorrelationInfo.h"
-#include <iostream>
 
 
 AudioCorrelationInfo::AudioCorrelationInfo(int mainSize, int subSize) :
@@ -40,7 +39,7 @@ int64_t AudioCorrelationInfo::max() const
     if (m_max <= 0) {
         int width = size();
         int64_t max = 0;
-        for (int i = 0; i < width; i++) {
+        for (int i = 0; i < width; ++i) {
             if (m_correlationVector[i] > max) {
                 max = m_correlationVector[i];
             }
@@ -57,7 +56,7 @@ int AudioCorrelationInfo::maxIndex() const
     int index = 0;
     int width = size();
 
-    for (int i = 0; i < width; i++) {
+    for (int i = 0; i < width; ++i) {
         if (m_correlationVector[i] > max) {
             max = m_correlationVector[i];
             index = i;