diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
| commit | 82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch) | |
| tree | 1a1f782d3e576b758be0bc61171574a7cd8f2376 /LiveAudioTestController.hpp | |
| parent | 061658210acb6425517733ea012dda803a7f72a1 (diff) | |
| parent | 61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff) | |
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
Diffstat (limited to 'LiveAudioTestController.hpp')
| -rw-r--r-- | LiveAudioTestController.hpp | 19 |
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}; |
