Some people have complained about losing audio at times...apparently when
stopping/starting transmission quickly.
I've seen where some rigs can take 180ms or more to change states so we need to
stop the guiUpdate timer while it's running...
This was tested by one of the people who said it was a 50-50 shot of losing
audio and it is much better behaved with this simple patch which is also
harmless and probably should have been done anyways since there's so much going
on in this function.
Index: mainwindow.cpp
===================================================================
--- mainwindow.cpp (revision 8748)
+++ mainwindow.cpp (working copy)
@@ -3190,6 +3190,8 @@
double txDuration;
QString rt;
+ m_guiTimer.stop();
+
if(m_TRperiod==0) m_TRperiod=60;
txDuration=0.0;
if(m_modeTx=="FT8") txDuration=1.0 + 79*1920/12000.0; // FT8
@@ -3757,6 +3759,7 @@
}
m_iptt0=g_iptt;
m_btxok0=m_btxok;
+ m_guiTimer.start(100);
} //End of guiUpdate
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel