diff options
Diffstat (limited to 'Transceiver/TCITransceiver.hpp')
| -rw-r--r-- | Transceiver/TCITransceiver.hpp | 12 |
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; |
