Commit Graph

6759 Commits

Author SHA1 Message Date
Bill Somerville 3a71184040
Include period start time in dropped samples message box details 2020-08-22 18:12:12 +01:00
Bill Somerville d1fa08ab78
Handle 24hr wrap of QAudioInput::elapsedUSecs() on Linux & Windows 2020-08-22 18:09:51 +01:00
Bill Somerville d522239492
CMake v3.17 compatability 2020-08-22 11:58:39 +01:00
Bill Somerville f00f9bbeb9
Revert "CMake 3.17 compatibility"
This reverts commit 49366d0455.
2020-08-22 11:57:44 +01:00
Bill Somerville 49366d0455
CMake 3.17 compatibility 2020-08-22 02:40:33 +01:00
Bill Somerville b37e419fc7
Qt 5.15 compatibility 2020-08-19 12:32:27 +01:00
Bill Somerville d1860df190
Only send local station info to PSK Reporter when necessary
Remove unneeded debug trace messages.
2020-08-18 12:47:17 +01:00
Bill Somerville b1c53bc332
Fix a cosmetic FT6 DXpedition mode Hound issue that causes an assert 2020-08-17 01:52:47 +01:00
Bill Somerville 2cd679f71c
Fix broken CAT initialization 2020-08-17 01:48:26 +01:00
Bill Somerville 3d45e1128a Further Linux depedency and User Guide updates 2020-08-16 19:50:34 +01:00
Bill Somerville fb7af6c696
Further Linux dependency and install documentation updates 2020-08-16 19:11:51 +01:00
Bill Somerville 549198566b
Linux package dependency updates 2020-08-16 18:06:26 +01:00
Bill Somerville c99f236dca
Merge branch 'feat-dropped-frames' into develop 2020-08-16 03:35:10 +01:00
Bill Somerville 1b36183057
Reduce debug message length 2020-08-16 03:01:16 +01:00
Bill Somerville 7bf086dc53
Updated ADIF band bounds 2020-08-16 02:56:48 +01:00
Bill Somerville 536e6568a6
FST4* messages do not need padding out to 37 characters 2020-08-16 02:34:18 +01:00
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