summaryrefslogtreecommitdiff
path: root/LiveAudioTestController.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
commit76956486fa7ef52a51d4e56df1e13a9f19a6c93c (patch)
treefe0c394439fdc167d1970372e8998874090854dd /LiveAudioTestController.hpp
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
parentffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff)
Update upstream source from tag 'upstream/3.3.0_beta1+dfsg'
Update to upstream version '3.3.0~beta1+dfsg' with Debian dir 85037bbb9376721108594b59b54ead82ac6924a3
Diffstat (limited to 'LiveAudioTestController.hpp')
-rw-r--r--LiveAudioTestController.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/LiveAudioTestController.hpp b/LiveAudioTestController.hpp
index b3fc9bdd..3f329ef3 100644
--- a/LiveAudioTestController.hpp
+++ b/LiveAudioTestController.hpp
@@ -7,6 +7,10 @@
#include <QString>
#include <QStringList>
#include <QTimer>
+#include <QTextBlock>
+#include <QElapsedTimer>
+#include <QByteArray>
+#include <QVector>
#include <vector>
class FixtureAudioInput;
@@ -49,7 +53,10 @@ private:
void maybeFinish ();
void maybeFinishFt8 ();
void maybeFinishJtty ();
+ void observeJttyDisplay ();
void pollJttyDisplay ();
+ void checkJttyReviewAndStatus ();
+ void completeJttyTest ();
void fail (QString const& reason);
void checkForUnexpectedModal ();
void exerciseSubmittedFt8Rollover ();
@@ -72,9 +79,21 @@ private:
QTimer m_prepareTimer;
QTimer m_modalTimer;
QTimer m_jttyPollTimer;
+ QTimer m_jttyStageTimer;
QTextEdit * m_jttyAllDecodes {nullptr};
QTextEdit * m_jttyQsoFrequency {nullptr};
qint64 m_emittedFrames {0};
+ qint64 m_captureStartMs {0};
+ QTextBlock m_jttyAllPrefixBlock, m_jttyQsoPrefixBlock;
+ enum class JttyCheckStage { Live, Review, Stopped, Wav, Drain, TimedMode };
+ JttyCheckStage m_jttyCheckStage {JttyCheckStage::Live};
+ QElapsedTimer m_jttyCheckElapsed;
+ QString m_jttyAllBeforeReview, m_jttyQsoBeforeReview;
+ QVector<QTextBlock> m_jttyAllLiveBlocks, m_jttyQsoLiveBlocks;
+ QString m_jttyLogPath, m_jttySaveDirectory;
+ qint64 m_jttyInitialLogSize = 0;
+ QByteArray m_jttyLogBeforeReview;
+ QSet<QString> m_jttyInitialRecordings;
int m_completedCycles {0};
quint64 m_submittedGeneration {0};
quint64 m_submittedCycle {0};