Merge branch 'master' into develop

This commit is contained in:
Bill Somerville 2020-09-26 21:52:29 +01:00
commit ed10b0414a
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
9 changed files with 64 additions and 32 deletions

View File

@ -37,10 +37,6 @@ bool SoundInput::checkStream ()
result = true; result = true;
break; break;
} }
if (!result)
{
stop ();
}
} }
return result; return result;
} }

View File

@ -51,7 +51,7 @@ void SoundOutput::setFormat (QAudioDeviceInfo const& device, unsigned channels,
m_framesBuffered = frames_buffered; m_framesBuffered = frames_buffered;
} }
void SoundOutput::restart (AudioDevice * source) void SoundOutput::restart (QIODevice * source)
{ {
if (!m_device.isNull ()) if (!m_device.isNull ())
{ {
@ -111,7 +111,6 @@ void SoundOutput::restart (AudioDevice * source)
#endif #endif
} }
m_stream->setCategory ("production"); m_stream->setCategory ("production");
m_source = source;
m_stream->start (source); m_stream->start (source);
// qDebug () << "SoundOut selected buffer size (bytes):" << m_stream->bufferSize () << "period size:" << m_stream->periodSize (); // qDebug () << "SoundOut selected buffer size (bytes):" << m_stream->bufferSize () << "period size:" << m_stream->periodSize ();
} }

View File

@ -6,9 +6,8 @@
#include <QString> #include <QString>
#include <QAudioOutput> #include <QAudioOutput>
#include <QAudioDeviceInfo> #include <QAudioDeviceInfo>
#include <QPointer>
class AudioDevice; class QIODevice;
class QAudioDeviceInfo; class QAudioDeviceInfo;
// An instance of this sends audio data to a specified soundcard. // An instance of this sends audio data to a specified soundcard.
@ -30,7 +29,7 @@ public:
public Q_SLOTS: public Q_SLOTS:
void setFormat (QAudioDeviceInfo const& device, unsigned channels, int frames_buffered = 0); void setFormat (QAudioDeviceInfo const& device, unsigned channels, int frames_buffered = 0);
void restart (AudioDevice *); void restart (QIODevice *);
void suspend (); void suspend ();
void resume (); void resume ();
void reset (); void reset ();
@ -52,7 +51,6 @@ private:
QAudioDeviceInfo m_device; QAudioDeviceInfo m_device;
unsigned m_channels; unsigned m_channels;
QScopedPointer<QAudioOutput> m_stream; QScopedPointer<QAudioOutput> m_stream;
QPointer<AudioDevice> m_source;
int m_framesBuffered; int m_framesBuffered;
qreal m_volume; qreal m_volume;
bool error_; bool error_;

26
NEWS
View File

@ -13,6 +13,32 @@
Copyright 2001 - 2020 by Joe Taylor, K1JT. Copyright 2001 - 2020 by Joe Taylor, K1JT.
Release: WSJT-X 2.3.0-rc1
Sept 28, 2020
-------------------------
WSJT-X 2.3.0 is a program upgrade offering two new modes designed
especially for use on the LF and MF bands. FST4 is for 2-way QSOs,
and FST4W is for WSPR-like transmissions. Both modes offer a range of
options for T/R sequence lengths and threshold decoding sensitivities
extending well into the -40 dB range. Early tests have shown these
modes frequently spanning intercontinental distances on the 2200 m and
630 m bands. Further details and operating hints can be found in the
"Quick-Start Guide to FST4 and FST4W", posted on the WSJT web site:
https://physics.princeton.edu/pulsar/k1jt/FST4_Quick_Start.pdf
WSJT-X 2.3.0-rc1 is a beta-quality release candidate for a program
upgrade that provides a number of new features and capabilities.
These include:
- New modes FST4 and FST4W
- The *On Dx Echo* Doppler compensation method has been modified in
response to feedback from Users. Basic functionality is unchanged.
See the User Guide (Section 8.1) for more information.
Release: WSJT-X 2.2.2 Release: WSJT-X 2.2.2
June 22, 2020 June 22, 2020
--------------------- ---------------------

View File

@ -14,13 +14,26 @@ Copyright 2001 - 2020 by Joe Taylor, K1JT.
Release: WSJT-X 2.3.0-rc1 Release: WSJT-X 2.3.0-rc1
Sept DD, 2020 Sept 28, 2020
------------------------- -------------------------
WSJT-X 2.3.0 is a program upgrade offering two new modes designed
especially for use on the LF and MF bands. FST4 is for 2-way QSOs,
and FST4W is for WSPR-like transmissions. Both modes offer a range of
options for T/R sequence lengths and threshold decoding sensitivities
extending well into the -40 dB range. Early tests have shown these
modes frequently spanning intercontinental distances on the 2200 m and
630 m bands. Further details and operating hints can be found in the
"Quick-Start Guide to FST4 and FST4W", posted on the WSJT web site:
https://physics.princeton.edu/pulsar/k1jt/FST4_Quick_Start.pdf
WSJT-X 2.3.0-rc1 is a beta-quality release candidate for a program WSJT-X 2.3.0-rc1 is a beta-quality release candidate for a program
upgrade that provides a number of new features and capabilities. upgrade that provides a number of new features and capabilities.
These include: These include:
- New modes FST4 and FST4W
- The *On Dx Echo* Doppler compensation method has been modified in - The *On Dx Echo* Doppler compensation method has been modified in
response to feedback from Users. Basic functionality is unchanged. response to feedback from Users. Basic functionality is unchanged.
See the User Guide (Section 8.1) for more information. See the User Guide (Section 8.1) for more information.

View File

@ -2,5 +2,5 @@
set (WSJTX_VERSION_MAJOR 2) set (WSJTX_VERSION_MAJOR 2)
set (WSJTX_VERSION_MINOR 3) set (WSJTX_VERSION_MINOR 3)
set (WSJTX_VERSION_PATCH 0) set (WSJTX_VERSION_PATCH 0)
set (WSJTX_RC 0) # release candidate number, comment out or zero for development versions set (WSJTX_RC 1) # release candidate number, comment out or zero for development versions
set (WSJTX_VERSION_IS_RELEASE 0) # set to 1 for final release build set (WSJTX_VERSION_IS_RELEASE 0) # set to 1 for final release build

View File

@ -269,14 +269,14 @@ void Astro::check_split ()
} }
} }
void Astro::on_rbFullTrack_clicked() void Astro::on_rbFullTrack_clicked(bool)
{ {
m_DopplerMethod = 1; m_DopplerMethod = 1;
check_split (); check_split ();
Q_EMIT tracking_update (); Q_EMIT tracking_update ();
} }
void Astro::on_rbOnDxEcho_clicked() //on_rbOnDxEcho_clicked(bool checked) void Astro::on_rbOnDxEcho_clicked(bool)
{ {
m_DopplerMethod = 4; m_DopplerMethod = 4;
check_split (); check_split ();
@ -287,28 +287,28 @@ void Astro::on_rbOnDxEcho_clicked() //on_rbOnDxEcho_clicked(bool checked)
Q_EMIT tracking_update (); Q_EMIT tracking_update ();
} }
void Astro::on_rbOwnEcho_clicked() void Astro::on_rbOwnEcho_clicked(bool)
{ {
m_DopplerMethod = 3; m_DopplerMethod = 3;
check_split (); check_split ();
Q_EMIT tracking_update (); Q_EMIT tracking_update ();
} }
void Astro::on_rbCallDx_clicked() void Astro::on_rbCallDx_clicked(bool)
{ {
m_DopplerMethod = 5; m_DopplerMethod = 5;
check_split (); check_split ();
Q_EMIT tracking_update (); Q_EMIT tracking_update ();
} }
void Astro::on_rbConstFreqOnMoon_clicked() void Astro::on_rbConstFreqOnMoon_clicked(bool)
{ {
m_DopplerMethod = 2; m_DopplerMethod = 2;
check_split (); check_split ();
Q_EMIT tracking_update (); Q_EMIT tracking_update ();
} }
void Astro::on_rbNoDoppler_clicked() void Astro::on_rbNoDoppler_clicked(bool)
{ {
m_DopplerMethod = 0; m_DopplerMethod = 0;
Q_EMIT tracking_update (); Q_EMIT tracking_update ();

View File

@ -55,12 +55,12 @@ protected:
void closeEvent (QCloseEvent *) override; void closeEvent (QCloseEvent *) override;
private slots: private slots:
void on_rbConstFreqOnMoon_clicked(); void on_rbConstFreqOnMoon_clicked(bool);
void on_rbFullTrack_clicked(); void on_rbFullTrack_clicked(bool);
void on_rbOwnEcho_clicked(); void on_rbOwnEcho_clicked(bool);
void on_rbNoDoppler_clicked(); void on_rbNoDoppler_clicked(bool);
void on_rbOnDxEcho_clicked(); void on_rbOnDxEcho_clicked(bool);
void on_rbCallDx_clicked(); void on_rbCallDx_clicked(bool);
void on_cbDopplerTracking_toggled(bool); void on_cbDopplerTracking_toggled(bool);
private: private:

View File

@ -1043,14 +1043,14 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
void MainWindow::not_GA_warning_message () void MainWindow::not_GA_warning_message ()
{ {
// MessageBox::critical_message (this, MessageBox::critical_message (this,
// "This is a pre-release version of WSJT-X 2.2.0 made\n" "This is a pre-release version of WSJT-X 2.3.0 made\n"
// "available for testing purposes. By design it will\n" "available for testing purposes. By design it will\n"
// "be nonfunctional after 0000 UTC on June 10, 2020."); "be nonfunctional after 0000 UTC on Nov 17, 2020.");
// auto now = QDateTime::currentDateTimeUtc (); auto now = QDateTime::currentDateTimeUtc ();
// if (now >= QDateTime {{2020, 6, 10}, {0, 0}, Qt::UTC}) { if (now >= QDateTime {{2020, 11, 17}, {0, 0}, Qt::UTC}) {
// Q_EMIT finished (); Q_EMIT finished ();
// } }
} }
void MainWindow::initialize_fonts () void MainWindow::initialize_fonts ()