summaryrefslogtreecommitdiff
path: root/Transceiver/EmulateSplitTransceiver.cpp
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /Transceiver/EmulateSplitTransceiver.cpp
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'Transceiver/EmulateSplitTransceiver.cpp')
-rw-r--r--Transceiver/EmulateSplitTransceiver.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/Transceiver/EmulateSplitTransceiver.cpp b/Transceiver/EmulateSplitTransceiver.cpp
index 3dfc4b5c..942ce088 100644
--- a/Transceiver/EmulateSplitTransceiver.cpp
+++ b/Transceiver/EmulateSplitTransceiver.cpp
@@ -18,7 +18,10 @@ EmulateSplitTransceiver::EmulateSplitTransceiver (logger_type * logger,
// parent matching signals.
connect (wrapped_.get (), &Transceiver::resolution, this, &Transceiver::resolution);
connect (wrapped_.get (), &Transceiver::tciframeswritten, this, &Transceiver::tciframeswritten);
+ connect (wrapped_.get (), &Transceiver::receiveAudio, this, &Transceiver::receiveAudio);
connect (wrapped_.get (), &Transceiver::tci_mod_active, this, &Transceiver::tci_mod_active);
+ connect (wrapped_.get (), &Transceiver::txSourceCommitted, this, &Transceiver::txSourceCommitted);
+ connect (wrapped_.get (), &Transceiver::rawTxPlayoutSnapshot, this, &Transceiver::rawTxPlayoutSnapshot);
connect (wrapped_.get (), &Transceiver::finished, this, &Transceiver::finished);
connect (wrapped_.get (), &Transceiver::failure, this, &Transceiver::failure);
}
@@ -54,8 +57,14 @@ void EmulateSplitTransceiver::handle_update (TransceiverState const& state,
else
{
TransceiverState new_state {state};
- // Follow the rig if in RX mode.
- if (state.ptt ()) new_state.frequency (rx_frequency_);
+ // Fake split QSYs the rig to the TX dial before the PTT echo may
+ // arrive. Keep that transient from being adopted as the RX dial.
+ if (state.ptt () || (split_ && tx_frequency_
+ && state.frequency () == tx_frequency_
+ && state.frequency () != rx_frequency_))
+ {
+ new_state.frequency (rx_frequency_);
+ }
// These are always what was requested in prior set state operation
new_state.tx_frequency (tx_frequency_);