summaryrefslogtreecommitdiff
path: root/Transceiver/TCITransceiver.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
commitffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch)
tree1269efa852935b183daae4bb33a58d1b4d2ffb53 /Transceiver/TCITransceiver.hpp
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
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;