Qt's built-in QAudio calls rather than PortAudio. Also includes some
refactoring of the arrangement for these calls, and more use of C++ style.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3523 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
submitted by G4WJS.
2. Improved(???) means of multiple tries when polling radio for frequency.
3. Minor tweaks to widget sizes on devsetup screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3500 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
I have changed the declarations of the Rig class functions we use:
open()
setConf()
getFreq()
setFreq()
setPTT()
close()
... so that each one returns the (negative) error code returned by
hamlib. These functions no longer throw exceptions.
Initial tests seem to show things working well. I have found one
condition that causes a crash. The rig is initially opened and is
running OK (in this case, with the Polling interval set to 1 s). Then
the radio is turned off. The next call to getFreq() never returns.
Probably we need to set a timeout limit?
The code is kinda on the quick-and-dirty side. Improvements will be
welcom!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3246 ab8295b8-cf94-4d9e-aec4-7959e3be5d79