summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/spectrum/app/engine.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-04-07 15:18:17 +0200
committerLars Knoll <lars.knoll@qt.io>2021-04-08 12:19:52 +0000
commit77acd3cb4a1974d88e795a3369d74eccfd730e4f (patch)
tree90c20769b3c2e3f8e37544f91bd476d7b84768ab /examples/multimedia/spectrum/app/engine.h
parent1730f47fe18772f48b42b8e4dbec527889ae2ef3 (diff)
Remove the notifyInterval() functionality
This was nothing else than a timer, something you can just as well implement on top of Qt Multimedia if required. Change-Id: I1ef362f1f4ad5a5f85e92bfbb1d73b7710271e5c Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/spectrum/app/engine.h')
-rw-r--r--examples/multimedia/spectrum/app/engine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/multimedia/spectrum/app/engine.h b/examples/multimedia/spectrum/app/engine.h
index 5884860c3..f403afb80 100644
--- a/examples/multimedia/spectrum/app/engine.h
+++ b/examples/multimedia/spectrum/app/engine.h
@@ -63,6 +63,7 @@
#include <QObject>
#include <QMediaDeviceManager>
#include <QWaveDecoder>
+#include <QTimer>
#ifdef DUMP_CAPTURED_AUDIO
#define DUMP_DATA
@@ -318,6 +319,7 @@ private:
qint64 m_spectrumPosition;
int m_count;
+ QTimer *m_notifyTimer = nullptr;
#ifdef DUMP_DATA
QDir m_outputDir;