mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Code for a C++ puzzle.
This commit is contained in:
parent
04e326e75a
commit
b006d8381a
@ -4081,6 +4081,20 @@ void MainWindow::guiUpdate()
|
|||||||
//Once per second:
|
//Once per second:
|
||||||
if(nsec != m_sec0) {
|
if(nsec != m_sec0) {
|
||||||
// qDebug() << "onesec" << m_mode;
|
// qDebug() << "onesec" << m_mode;
|
||||||
|
|
||||||
|
/*
|
||||||
|
{
|
||||||
|
qint64 m_silentFrames;
|
||||||
|
unsigned mstr=3000; //Also try 1000 and 3000
|
||||||
|
unsigned delay_ms=1000;
|
||||||
|
unsigned m_ic=0;
|
||||||
|
unsigned m_frameRate=48000;
|
||||||
|
m_silentFrames = m_ic + (delay_ms-mstr)*m_frameRate/1000;
|
||||||
|
// m_silentFrames = m_ic + 0.001*(delay_ms-mstr)*m_frameRate;
|
||||||
|
qDebug() << m_silentFrames;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
m_currentBand=m_config.bands()->find(m_freqNominal);
|
m_currentBand=m_config.bands()->find(m_freqNominal);
|
||||||
|
|
||||||
if( SpecOp::HOUND == m_config.special_op_id() ) {
|
if( SpecOp::HOUND == m_config.special_op_id() ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user