]> git.sesse.net Git - kdenlive/blobdiff - src/scopes/audioscopes/audiospectrum.h
Fix includes
[kdenlive] / src / scopes / audioscopes / audiospectrum.h
index 94c8b2940c684df96cff6a2b4df33e63515d7a54..4a983ce52da3fc4bb39e06315db6d9405359b8be 100644 (file)
@@ -18,7 +18,6 @@
 // Show overmodulation
 #define DETECT_OVERMODULATION
 
-#include <QtCore>
 #include <QVector>
 #include <QHash>
 
@@ -51,7 +50,7 @@ protected:
     ///// Implemented methods /////
     QRect scopeRect();
     QImage renderHUD(uint accelerationFactor);
-    QImage renderAudioScope(uint accelerationFactor, const QVector<int16_t> audioFrame, const int freq, const int num_channels, const int num_samples, const int newData);
+    QImage renderAudioScope(uint accelerationFactor, const QVector<int16_t> &audioFrame, const int freq, const int num_channels, const int num_samples, const int newData);
     QImage renderBackground(uint accelerationFactor);
     bool isHUDDependingOnInput() const;
     bool isScopeDependingOnInput() const;