WSJT-X/lib
Bill Somerville ef586e4b58 Qt 5 Audio replaces PortAudio.
Currently only Qt5 or above is known to work with this code. It may be
possible to backport it to Qt4 if required.

Audio output goes back to a separate thread to try and minimize
stutters in streaming on Windows particularly.

A crash on Linux due to mishandling of stereo audio output has been
fixed and both left and right channels are now correctly synthesised
with identical contents.

Rigs are enumerated directly from hamlib API rather than running a sub
process reading output of rigctl -l. This was initially done to get
rid of some GUI thread blocking in the configuration dialog, but is
generally a better way of doing it anyway.

Some refactoring in MainWindow to accomodate the audio streaming,
modulation and detecting classes.

Exit handling for application refactored to use signals rather than
brute force event loop exit. This was required to get correct thread
shutdown semantics.

The GUI update timer is now stopped during application shutdown which
is necessary to stop crashes when shutting down gracefully with
signals and window close() calls.

There is an outstanding issue with Linux audio streams; the QAudio
Input/Output classes create a new stream name each time a stream is
started. This doesn't play well with PulseAudio utilities such as
pavucontrol to set stream volume as settings are lost every tx
period. I have tried to keep a single stream for all output but there
are problems restarting it that haven't been resolved yet.

The QtCreator project file has been rearranged a little because it
passes all the object files to the linker rather than using an archive
library. Since the GNU linker is single pass; the object files need to
be in a logical order with definitions appearing afer references to
them. This was required to avoid a linking error.

The lib/Makefile.linux has been enhanced to use the fortran compiler
to locate the correct version of the Fortran library to use. This is
necessary on the latest Linux distros because the unversioned symlink
to compiler support libraries is no longer provided. This only an
issue with mixed programming language links where the linker driver
for one language has to link support libraraies for another language.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3532 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-07 23:09:13 +00:00
..
afc9.f90 Many changes: all-new JT9 decoder, supposedly faster and better. 2012-11-26 21:06:41 +00:00
afc65b.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
analytic.f90 Rename library directory 2012-10-03 14:31:43 +00:00
azdist.f90 Display Az and Dist when "hisGrid" is known and valid. 2013-03-23 15:41:31 +00:00
bpskmetrics.dat Rename library directory 2012-10-03 14:31:43 +00:00
ccf2.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
ccf65.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
char.h Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
chkhist.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
chkmsg.f90 Code for JT4 deep search now working well. (Needs some fine tuning, though.) 2013-01-23 16:25:07 +00:00
chkss2.f90 Eliminate all compiler warnings from gfortran, in Ubuntu 12.04. 2013-05-23 13:33:29 +00:00
constants.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
conv232.f90 Rename library directory 2012-10-03 14:31:43 +00:00
cutil.c Rename library directory 2012-10-03 14:31:43 +00:00
db.f90 Rename library directory 2012-10-03 14:31:43 +00:00
decode9.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
decode65a.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
decode65b.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
decode_rs.c Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
decoder.f90 Further optimizations of the decoders, and some code cleanup. 2013-07-17 19:13:36 +00:00
deep24.f90 Code for JT4 deep search now working well. (Needs some fine tuning, though.) 2013-01-23 16:25:07 +00:00
deg2grid.f90 Eliminate all compiler warnings from gfortran, in Ubuntu 12.04. 2013-05-23 13:33:29 +00:00
demod64a.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
downsam9.f90 Add calls to timer(). 2013-07-09 16:22:25 +00:00
encode4.f90 Code for JT4 deep search now working well. (Needs some fine tuning, though.) 2013-01-23 16:25:07 +00:00
encode232.f90 Rename library directory 2012-10-03 14:31:43 +00:00
encode_rs.c Rename library directory 2012-10-03 14:31:43 +00:00
entail.f90 Rename library directory 2012-10-03 14:31:43 +00:00
extract4.f90 Message averaging and DS now fully integrated in wsjt24d. 2013-01-23 19:54:54 +00:00
extract.F90 Further optimizations of the decoders, and some code cleanup. 2013-07-17 19:13:36 +00:00
f77_wisdom.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
fano232.f90 More progress on GUI; cleanup of fano232 code. 2012-10-20 16:37:01 +00:00
fchisq65.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
fchisq.f90 General code clean-up to eliminate compiler warnings. 2013-04-22 15:08:20 +00:00
fftw3.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
fil3.f90 Add fil3.f90. 2012-10-10 19:25:28 +00:00
fil61.f90 Rename library directory 2012-10-03 14:31:43 +00:00
fil6521.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
filbig.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
fillcom.f90 1. Allow waterfall window to have smaller height. 2013-07-16 18:17:20 +00:00
flat1.f90 Starting to implement the JT4 modes. 2013-01-22 19:19:00 +00:00
flat2.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
flat65.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
four2a.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
gen24.f90 Code for JT4 deep search now working well. (Needs some fine tuning, though.) 2013-01-23 16:25:07 +00:00
gen65.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
genjt9.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
genmet.f90 More cleanup of JT4 stuff. 2013-01-22 21:04:47 +00:00
geodist.f90 Display Az and Dist when "hisGrid" is known and valid. 2013-03-23 15:41:31 +00:00
getlags.f90 Many changes: all-new JT9 decoder, supposedly faster and better. 2012-11-26 21:06:41 +00:00
getmet24.f90 Message averaging and DS now fully integrated in wsjt24d. 2013-01-23 19:54:54 +00:00
getpfx1.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
getpfx2.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
gran.c Rename library directory 2012-10-03 14:31:43 +00:00
graycode65.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
graycode.f90 Rename library directory 2012-10-03 14:31:43 +00:00
grid2deg.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
grid2k.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
grid2n.f90 Implement signal reports in the range -31 to -50 dB. 2012-10-25 13:01:37 +00:00
igray.c Rename library directory 2012-10-03 14:31:43 +00:00
indexx.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
init_rs.c Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
int.h Rename library directory 2012-10-03 14:31:43 +00:00
interleave8.f90 Rename library directory 2012-10-03 14:31:43 +00:00
interleave9.f90 Rename library directory 2012-10-03 14:31:43 +00:00
interleave24.f90 Starting to implement the JT4 modes. 2013-01-22 19:19:00 +00:00
interleave63.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
ipcomm.cpp Wrong version of ipcomm.cpp was saved? 2013-07-19 00:44:48 +00:00
jt9.f90 Makefiles should create EXE_DIR if it does not exist. 2013-07-25 18:12:03 +00:00
jt9a.f90 Full activation of "Multiple Instances", thanks to some code by 2013-07-19 00:23:40 +00:00
jt9b.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
jt9c.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
jt9code.f90 Clean up all g95 compiler warnings. 2013-05-23 01:05:37 +00:00
jt9sim.f90 Clean up all g95 compiler warnings. 2013-05-23 01:05:37 +00:00
jt9sync.f90 Introduce nzhsym, the number of computed half-symbol spectra. 2012-11-19 18:23:39 +00:00
jt65.f90 Clean up two warning messages. 2013-07-09 16:05:23 +00:00
jt65a.f90 Further optimizations of the decoders, and some code cleanup. 2013-07-17 19:13:36 +00:00
k2grid.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
libhamlib.dll.a Starting to implement direct calls to hamlib functions, rather than 2013-04-15 00:28:27 +00:00
Makefile.linux Qt 5 Audio replaces PortAudio. 2013-08-07 23:09:13 +00:00
Makefile.MinGW Most of these changes are thanks to G4WJS. Audio I/O is now done using 2013-08-05 13:57:55 +00:00
Makefile.MinGW.qt4 Change Makefile.MinGW to use my qt5.0.2 paths. Yours may be different! 2013-08-02 19:52:25 +00:00
met8.21 Rename library directory 2012-10-03 14:31:43 +00:00
morse.f90 Added the source code for morse(). 2013-03-25 12:17:21 +00:00
move.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
msgs.txt working on pxdb, spectra 2012-10-04 02:05:14 +00:00
n2grid.f90 Clean up compiler warnings. 2012-11-14 17:02:54 +00:00
nchar.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
noisegen.f90 Rename library directory 2012-10-03 14:31:43 +00:00
packbits.f90 Rename library directory 2012-10-03 14:31:43 +00:00
packcall.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
packdxcc.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
packgrid.f90 Eliminate all compiler warnings from gfortran, in Ubuntu 12.04. 2013-05-23 13:33:29 +00:00
packmsg.f90 Implemented "CQ DX " by disguising it as callsign "CQ9DX ". 2012-12-11 18:50:07 +00:00
packtext.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
pctile.f90 Go back to old version of pctile, using a full sort. 2012-11-12 18:28:28 +00:00
peakdt9.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
peakup.f90 Starting to implement the JT4 modes. 2013-01-22 19:19:00 +00:00
pfx.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
pfxdump.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
ps24.f90 Starting to implement the JT4 modes. 2013-01-22 19:19:00 +00:00
ptt.c Make ptt() consistent with the one in WSPR. 2012-11-19 16:45:42 +00:00
rig_control.c Backed out the changes from r3171 to r3172 -- too buggy at present. 2013-04-15 21:13:31 +00:00
rs.h Rename library directory 2012-10-03 14:31:43 +00:00
s3avg.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
sec_midn.f90 Rename library directory 2012-10-03 14:31:43 +00:00
setup65.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
sleep_msec.f90 1. Fixed issue with jt9 process not sleeping under Linux. 2013-03-26 14:00:51 +00:00
sleep.h Rename library directory 2012-10-03 14:31:43 +00:00
slope.f90 Starting to implement the JT4 modes. 2013-01-22 19:19:00 +00:00
smo121.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
softsym.f90 Add calls to timer(). 2013-07-09 16:22:25 +00:00
sort.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
ss.bat Rename library directory 2012-10-03 14:31:43 +00:00
ssort.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
stdmsg.f90 Uploads to PSKReporter are now working. 2013-03-11 19:43:06 +00:00
symspec2.f90 Further optimizations of the decoders, and some code cleanup. 2013-07-17 19:13:36 +00:00
symspec65.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
symspec.f90 Apply sigital gain slider to spectra sent to waterfall. 2013-07-10 15:46:27 +00:00
sync9.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
sync24.f90 Some cleanup of source-code comments. 2013-01-22 20:14:35 +00:00
tab.c Rename library directory 2012-10-03 14:31:43 +00:00
timer.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
timeval.h Rename library directory 2012-10-03 14:31:43 +00:00
tstrig.c Starting to implement direct calls to hamlib functions, rather than 2013-04-15 00:28:27 +00:00
tstrig.h Starting to implement direct calls to hamlib functions, rather than 2013-04-15 00:28:27 +00:00
twkfreq65.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
twkfreq.f90 Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
unpackbits.f90 Clean up all g95 compiler warnings. 2013-05-23 01:05:37 +00:00
unpackcall.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
unpackgrid.f90 Permit signal reports in the range -50 to +49 dB 2012-11-28 01:57:45 +00:00
unpackmsg.f90 1. Fixed a bug causing seemingly random crashes when compound callsign 2013-04-24 17:55:33 +00:00
unpacktext.f90 Convert all *.f files to *.f90. 2013-05-22 15:39:28 +00:00
usleep.c Most of these changes are thanks to G4WJS. Audio I/O is now done using 2013-08-05 13:57:55 +00:00
vit216.c Rename library directory 2012-10-03 14:31:43 +00:00
wrapkarn.c Merging code for v1.1 back into the main wsjtx branch. 2013-07-08 13:17:22 +00:00
wsjt24.f90 Message averaging and DS now fully integrated in wsjt24d. 2013-01-23 19:54:54 +00:00
wsjt24d.f90 Code for JT4 deep search now working well. (Needs some fine tuning, though.) 2013-01-23 16:25:07 +00:00
xcor24.f90 Starting to implement the JT4 modes. 2013-01-22 19:19:00 +00:00
zplot9.f90 Many changes to the procedures for selecting decodable candidate JT9 signals. 2013-05-16 16:02:00 +00:00