Commit Graph

6543 Commits

Author SHA1 Message Date
Bill Somerville 65f994ce90
Improved audio stream error handling 2020-08-16 00:55:29 +01:00
Bill Somerville 50da40413f
PSK Reporter connection opened & closed at the correct times 2020-08-16 00:38:19 +01:00
Bill Somerville 491a7b9a05
Ensure no connect with, or traffic to, PSK Reporter if not enabled 2020-08-15 23:32:10 +01:00
Bill Somerville b984390711
Fix PSK Reporter spots of FST4W decodes with power <10 dBm 2020-08-15 23:29:53 +01:00
Bill Somerville 6adb7d2249
Non-repo files 2020-08-15 21:33:16 +01:00
Bill Somerville 632e2c2ae9
Merge branch 'develop' into feat-dropped-frames 2020-08-15 20:03:47 +01:00
Joe Taylor dad9199f24 Disable double-clicking on an FST4W decode. It serves no useful purpose. 2020-08-15 14:31:18 -04:00
Bill Somerville ec623deb9f
More consistent Tx Next button behaviour 2020-08-15 15:57:29 +01:00
Bill Somerville 45f28aff45
Updated cty.dat file - 4th Aug 2020 Big CTY 2020-08-15 03:01:54 +01:00
Bill Somerville e17ad223ae
Tx Next button enables automatic Tx
Also a  number of WSPR/FST4W  code clean-ups including getting  the Tx
Next button to function as intended.
2020-08-15 02:57:23 +01:00
Bill Somerville 7cc7687c90
Fix an off-by-one defect in WSPR random scheduling
Scheduler now correctly honours 0% and 100% schedules an dno longer
need special cases in UI code.
2020-08-15 02:45:25 +01:00
Bill Somerville f7377e686f
Move bundled cty.dat from resources FS to installation data dir
This file is only used at start up so there is little point to keeping
it in program memory.
2020-08-14 14:47:07 +01:00
Bill Somerville 7eb229ecde
Reduce Tx audio buffer size improve Pwr control granularity 2020-08-13 10:31:23 +01:00
Bill Somerville 11abe7c60f
Cosmetic reformating 2020-08-13 10:30:49 +01:00
Bill Somerville e69226b29a
Avoid enumerating audio devices until absolutely necessary
Enumerating  audio  devices with  QAudioDeviceInfo::availableDevices()
takes  a  long  time  on  Linux  with  pulseaudio.  This  change  only
enumerates  up  to  the  selected device  when  configuring  and  only
enumerates the whole list when the Settings->Audio tab is current.

This change also warns  with a message box when Tx  is started with no
audio output device configured.
2020-08-12 02:33:15 +01:00
Bill Somerville c067580071
Performance optimization of frequencies and station info table views 2020-08-11 20:09:42 +01:00
Bill Somerville 185f570136
Avoid accessing shared memory after it has been deleted 2020-08-11 20:07:00 +01:00
Bill Somerville e27b09b590
Revert Tx status widget on status bar to non-permanent placement 2020-08-11 16:09:51 +01:00
Bill Somerville 8e37dbd8c1
Increased threshold for status message and warning on dropped frames 2020-08-11 16:08:21 +01:00
Bill Somerville 4f68dfda40
Only tune audio buffer sizes on Windows 2020-08-11 14:27:46 +01:00
Bill Somerville 0cf14dfcc9
Remove user adjustable audio buffer sizes from Settings
Fixed buffer sizes are  used. Rx use s 3456 x 1st  downsample rate x 5
audio  frames  of  buffer  space.  On Windows  this  means  that  each
chunk (periodSize())  delivered from the  audio stream is  our initial
DSP processing chunk size, thus  matching audio buffer latency exactly
with WSJT-X's  own front  end latency. This  should result  in optimal
resilience to high system loads that might starve the soundcard ADC of
buffers to fill and case dropped audio frames.

For Tx  a buffer sufficient for  1 s of  audio is used at  present, on
Windows  the period  size will  be  set to  1/40 of  that which  gives
reasonably low latency  and plenty of resilience to  high system loads
that might  starve the soundcard DAC  of audio frames to  render. Note
that a 1 s  buffer will make the "Pwr" slider slow  to respond, we may
have to reduce the Tx audio buffer size if this is seen as a problem.
2020-08-11 13:48:01 +01:00
Bill Somerville ecde374cee
Trying a fixed audio input buffer size 2020-08-10 11:01:38 +01:00
Bill Somerville 1892f39df3
Revert "TEMPORARY: Diagnostic routine for the "Save All" missing files problem."
This reverts commit b5765401dc.
2020-08-10 01:42:26 +01:00
Joe Taylor b5765401dc
TEMPORARY: Diagnostic routine for the "Save All" missing files problem. 2020-08-09 22:50:17 +01:00
Bill Somerville ecf0a146f1
Merge branch 'develop' into feat-dropped-frames 2020-08-08 21:26:51 +01:00
Bill Somerville 94d66bc848
Make FST4W scheduling l10n agnostic 2020-08-08 21:25:32 +01:00
Bill Somerville 2e413713a3
Tidy dropped frame status bar message 2020-08-08 19:40:42 +01:00
Bill Somerville 02e19b687f
Status message to report approximate # of dropped Rx audio frames
This is  a first cut  at this to  evaluate buffer size  adjustments on
supported platforms. A final version might limit status bar reports to
>1000 dropped frames or similar.
2020-08-08 17:12:48 +01:00
Bill Somerville 6ea62d9476
Remove default audio devices from audio configuration
This enforces  an audio input device  in the settings dialog  since we
can't do anything  without an input device. A nil  audio output device
is allowed with a warning.
2020-08-08 16:57:51 +01:00
Bill Somerville f32c927306
Control audio buffer size defaults from Configuration class 2020-08-08 16:52:03 +01:00
Bill Somerville a0ceace5b4
User configurable audio device buffer sizes
Adjusting these may help with  audio drop-outs, particularly on slower
CPU systems or heavily loaded systems. Smaller buffer sizes leave less
margin for  process interruptions,  larger sizes waste  resources that
could impact other processes.
2020-08-08 16:25:14 +01:00
Bill Somerville f975f2c181
Further widget contrast improvements for use with dark stylesheets 2020-08-08 15:06:31 +01:00
Bill Somerville 9c43668640
Break unnecessary Qt link dependencies in Fortran utilities 2020-08-08 15:03:46 +01:00
Bill Somerville bf58cd43aa
Improve contrast of coloured widgets in dark style 2020-08-08 13:20:52 +01:00
Bill Somerville 31742156fd
Qt v5.8 backwards compatibility 2020-08-07 22:53:21 +01:00
Bill Somerville 7bafb5b71e
Qt5.7 backwards compatibility 2020-08-07 22:40:15 +01:00
Bill Somerville 0ba5d7e1bf
More flexibility for QDateTime round/truncate routine 2020-08-07 21:31:48 +01:00
Bill Somerville 09dc647c12
Make tool-tips more generic on T/R period 2020-08-04 11:49:33 +01:00
Bill Somerville d2525c73a3
Minor cosmetic main layout changes 2020-08-04 11:44:26 +01:00
Bill Somerville fb8b938ac7
Make FST4 std message generation consistent with other 77-bit modes 2020-08-04 11:43:19 +01:00
Bill Somerville caba1fbe72
Validate grids in 77-bit and 50-bit message unpacking 2020-08-03 02:11:46 +01:00
Bill Somerville 8e95daf963
Remove some diagnostic prints 2020-08-03 01:39:25 +01:00
Bill Somerville 0767feb533
Updated INSTALL file 2020-08-02 23:04:17 +01:00
Bill Somerville 87dec9d433
Remove a remnant of "Also FST4W" mode 2020-08-02 00:42:09 +01:00
Bill Somerville f300c9afc5
Merge branch 'feat-fst280' into develop 2020-07-31 15:03:56 +01:00
Bill Somerville 92cf7b29c2
Merge branch 'develop' into feat-fst280 2020-07-31 15:00:50 +01:00
Bill Somerville 11b6637d6a
Fix some long-standing Tx start time issues 2020-07-31 13:35:57 +01:00
Bill Somerville b05bfecb5f
Avoid arithmetic errors when parsing the round-robin current text 2020-07-31 12:39:08 +01:00
Bill Somerville c2b835c42b
Translatable help windows 2020-07-29 18:44:34 +01:00
Joe Taylor 846b0b6ed8 Fix the problem "Tx did not start in the first Round-Robin sequence when it should have started". 2020-07-29 11:58:28 -04:00