summaryrefslogtreecommitdiff
path: root/Transceiver/TCITransceiver.hpp
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
committerDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
commit82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch)
tree1a1f782d3e576b758be0bc61171574a7cd8f2376 /Transceiver/TCITransceiver.hpp
parent061658210acb6425517733ea012dda803a7f72a1 (diff)
parent61d684922b0f1c8455cc60eb3d123df058c9e1f5 (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 'Transceiver/TCITransceiver.hpp')
-rw-r--r--Transceiver/TCITransceiver.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Transceiver/TCITransceiver.hpp b/Transceiver/TCITransceiver.hpp
index 4f2387b3..18c1d624 100644
--- a/Transceiver/TCITransceiver.hpp
+++ b/Transceiver/TCITransceiver.hpp
@@ -147,6 +147,12 @@ protected:
void do_audio (bool on) override;
void do_tune (bool on) override;
void do_period(double period) override;
+ void do_receive_policy (ReceivePolicy) override;
+ void do_receive_context (quint64) override;
+ void receive_discontinuity (JttyReceiveReason) override;
+ void receive_stop_reason (JttyReceiveReason reason) override { m_inputStopReason = reason; }
+ void requestContinuousReceiveDrain (quint64 requestId) override
+ { Q_EMIT continuousReceiveDrained (requestId, m_jttyPublisher.mailbox ()); }
void do_blocksize(qint32 blocksize) override;
void do_spread(double spread) override {m_fSpread=spread;}
void do_nsym(int nsym) override {m_symbolsLength=nsym;}
@@ -289,6 +295,11 @@ private:
double m_period = 15.0;
ReceiveClock receive_clock_;
ReceiveAudioProducer m_receiveAudioProducer;
+ ReceivePolicy m_receivePolicy = ReceivePolicy::Timed;
+ quint64 m_receiveContext = 0;
+ JttyReceiveReason m_inputStopReason = JttyReceiveReason::MonitorStopped;
+ JttyReceivePublisher m_jttyPublisher;
+ std::array<short, 7 * 512> m_jttyOutput {};
std::array<float, 49> m_downsampleState {};
unsigned m_lastPeriodOffsetMs = 999999;
unsigned m_downSampleFactor;
@@ -333,6 +344,7 @@ private:
TxAudioQueue m_txAudioQueue;
QTimer * m_jttyDrainTimer;
qint64 m_jttyDrainGuard;
+ TxAudioQueueProgress m_jttyLastProgress;
TxEvidence::TxStartSnapshot m_txStartSnapshot;
qint64 m_tciBackendStartSequence;
qint64 m_tciSuccessfullyWrittenFrames;