Commit Graph

  • d55d7e9b75 Halloween Warning cleanup: - wxFont SetFont() deprecated warnings, suppressed by re-generating forms with latest wxFormBuilder, - double-to-float implicit conversion in CubicVR2 vsonnier 2017-10-31 11:08:15 +01:00
  • d8ff4ea1de Squash some warnings with std::shared_ptr init seen on Ubuntu 16.04 vsonnier 2017-10-29 15:06:24 +01:00
  • 89d12ef4e3 #513 Workaround in case the number of samples rates is too much to be handled by the menu, decimate to 25 max. vsonnier 2017-10-28 13:12:27 +02:00
  • 230a87d8df AudioThread: Revised mutex usage for devices vs. AudioThread* due to erroneous implem., creating crashes in some cases (damn those things are hard...) vsonnier 2017-10-28 11:40:03 +02:00
  • 950a4622b7 Updated Windows liquid-dsp binaries to v1.31 (gcc 7.2.0) vsonnier 2017-10-26 07:04:36 +02:00
  • 3cc49bdb15 Fixes #581 ?: Do not set std::shared_ptr to nullptr in constructors (useless anyway) since they could be wrongly interpreted vsonnier 2017-10-16 18:44:20 +02:00
  • 6019207bd4 VisualProcessor : protect against null input queue vsonnier 2017-10-15 08:51:01 +02:00
  • f4107c1541 Optimized VisualProcessor by using a non-recursive mutex and making some ops non-blocking, small AudioThread opt as well vsonnier 2017-10-14 10:55:48 +02:00
  • 1c415afa92 Merge branch 'master' into audio_recording Charles J. Cliffe 2017-10-12 00:15:00 -04:00
  • 38fab6ac51 Add 'R' toggle key + fixes from initial testing Charles J. Cliffe 2017-10-12 00:07:05 -04:00
  • f8e51df8cd Demod instance start/stop recording setup Charles J. Cliffe 2017-10-09 20:07:40 -04:00
  • 2c1be22c51 Well, looks like WASAPI audio create crashes on Windows, so revert to good old DirectSound for audio vsonnier 2017-09-27 21:45:08 +02:00
  • c202d99a2a initial audio sink file and thread handling rough-in Charles J. Cliffe 2017-09-26 23:25:55 -04:00
  • 21dd062da0 Merge branch 'master' into audio_recording Charles J. Cliffe 2017-09-24 23:56:37 -04:00
  • a398bc57f1 Initial AudioSink thread base and recoring preference Charles J. Cliffe 2017-09-24 23:50:08 -04:00
  • 1a73f627a2 Frequency entry dialog font is slightly too big to fit, use the same as Label dialog instead vsonnier 2017-09-24 12:46:33 +02:00
  • 927d727a16 Try not to use atomics in performance code vsonnier 2017-09-22 22:23:34 +02:00
  • aec0100f78 ThreadBlockingQueue : remove useless/dangerous operations, forbid both copy and assignment. vsonnier 2017-09-10 19:35:12 +02:00
  • afedca05c6 Updated liquid-dsp v1.30 Windows binaries to GCC 7.2.0 (MSYS2) vsonnier 2017-09-02 17:35:43 +02:00
  • 030628c5ed SDRPostThread is better using try_push, restore previous audio-related code in DemodulatorInstance vsonnier 2017-09-02 16:24:25 +02:00
  • 87077a89c1 Fix #574: cannot enter frequency offsets > 2GHz vsonnier 2017-09-01 18:23:53 +02:00
  • 252b6bf9f8 AudioThread polishing vsonnier 2017-09-01 06:18:35 +02:00
  • 5460863608 Upgraded RtAudio to v5.0.0, WASAPI is now the default audio backend on Windows vsonnier 2017-08-31 07:19:34 +02:00
  • 3a5b30dda8 Fix AudioThread nullptr check vsonnier 2017-08-31 21:24:05 +02:00
  • 9bbcb582e3 Fix hang when the active demodulator goes out-of-bandwwidth by changing sample rate vsonnier 2017-08-29 21:59:30 +02:00
  • 3842cf087f More terminate()-and-flush calls missed before vsonnier 2017-08-29 18:48:59 +02:00
  • dc9c67bec1 Fix a DemodulatorInstance dangling reference vsonnier 2017-08-29 06:40:07 +02:00
  • 03bf38fea8 Squashing an actual memory leak in SDRPostThread by simplifying the code vsonnier 2017-08-28 21:22:07 +02:00
  • 3f90cbb858 Flush queues on terminate() calls to unblock push()s and so ease threads termination vsonnier 2017-08-28 20:31:07 +02:00
  • 2d01a279e9 Merge pull request #572 from cjcliffe/vso_shared_ptr_DemodulatorInstances Vincent Sonnier 2017-08-27 14:47:10 +02:00
  • b52c4ac8a6 This lock is actually needed, restore it. vsonnier 2017-08-27 13:35:11 +02:00
  • 3c3939e0b7 Use nullptr instead of NULL when shared_ptr is used vsonnier 2017-08-27 13:00:32 +02:00
  • 37712c7a81 Simplify SDRPostThread: no longer binding methods, directly use the true list of demodulators vsonnier 2017-08-27 12:39:28 +02:00
  • a8f8f4a7e2 Initial commit: working... vsonnier 2017-08-27 11:11:30 +02:00
  • c112026a2c Make processing queues timed-push, to be able to escape deadlocks. Rollback 'restart device when blocked' that is ineffective in practice. vsonnier 2017-08-26 23:34:48 +02:00
  • ebca762ea8 Fix crash introduced with #559, fix hanging thread at application termination vsonnier 2017-08-25 18:52:33 +02:00
  • a018a36100 Add a read-only TX antenna menu entry showing the active one, closing #559 vsonnier 2017-08-25 07:27:30 +02:00
  • 8993121fc6 Merge pull request #571 from cjcliffe/vso_SoapySDR_antenna_support Vincent Sonnier 2017-08-25 06:23:22 +02:00
  • 2c20f728d5 Settings UI even better, fix device config not right w.r.t real antenna presence vsonnier 2017-08-24 21:11:50 +02:00
  • f5f4a80f23 Rollback addition of AGC,PPM in the SDRdevices menu, because not all devices support it. Keep Antenna selection, though vsonnier 2017-08-23 23:49:52 +02:00
  • 1042c62c3b Initial commit: Antenna support, Enhanced Settings menu, Enhanced SDR device dialog vsonnier 2017-08-23 23:27:49 +02:00
  • e32e687fe8 Make IOThreads terminate() fully non-blocking and misc. - Thanks to timed-pop() usage, it is no longer needed to nudge queues with dummy to wake them - Less bad luck to be stuck there - Misc: leave the trace about the audio thread staturation, useful despite it raises some alarm among users... vsonnier 2017-08-14 09:10:24 +02:00
  • acc6d2a31d Restart the device automatically if stuck with read stream errors vsonnier 2017-08-13 22:14:12 +02:00
  • c64baab99d Threads vs. Queues lifetimes, cleanups. - Ideally Queues must outlive the threads using them, but wasn't done so. Yes, std::shared_ptr them! - Now queues are always valid in the context of the threads using them. - No longer need tedious queues deallocation by the original owner. - Misc cleanups. vsonnier 2017-08-13 18:49:47 +02:00
  • 98c7c30aee Yet another Thread termination problem found, and try killing the app if the closing turns bad vsonnier 2017-08-13 12:11:14 +02:00
  • 33107bfa9e Fix #565, Solo mode is now saved into session files vsonnier 2017-08-12 18:09:36 +02:00
  • ae74023864 Updated Windows liquid-dsp v1.30 binaries, compiled with latest MSYS2 GCC 7.1.0 - Apparently the 32bit build no longer need any dependency, so remove libgcc_s_dw2-1.dll - Updated libwinpthread-1.dll from MSYS2 too. vsonnier 2017-08-12 13:51:11 +02:00
  • e67a29f5b6 Don't get stuck when closing application just because some Demodulators refuse to die vsonnier 2017-08-12 11:30:32 +02:00
  • 33aa0cade6 Fix bad re-loading, setting and UI glitches for Device Runtime settings, and misc. - Quite obvious on the SDRPlay RSP2 for ex. - Random cleanups by using the for-each construct at some places for clarity. vsonnier 2017-08-12 01:04:21 +02:00
  • aa29aa41c6 Avoid build failure when liquid-dsp is not in a default libdir Sebastien F4GRX 2017-08-03 15:38:01 +02:00
  • 695d00d966 Merge pull request #555 from lospheris/master Vincent Sonnier 2017-06-02 06:21:15 +02:00
  • ab6cb059b9 boolean not a valid keyword Dell-Ray Sackett 2017-06-01 21:12:06 -07:00
  • b315bac97f Change boolean to bool Dell-Ray Sackett 2017-06-01 21:05:49 -07:00
  • 3604b7f1ff Even better thread and application termination: - Now that timed-pop()/try_pop() prevent indefinite blocking it is best to flush() on thread stopping to unblock push() - Reworked a bit the CubicSDR::OnExit() sequence, see comments. vsonnier 2017-06-01 19:56:33 +02:00
  • 8f608bbf5c Cleanup: remove some unused params and variables, conversion warnings seen with #550. vsonnier 2017-05-29 20:08:45 +02:00
  • be3c0c9778 Pedantic change for mat4::to_ptr() vsonnier 2017-05-28 17:33:44 +02:00
  • 83b3bb1cb2 Merge pull request #551 from cjcliffe/vso_CubicVR2_cleaner_array_access Vincent Sonnier 2017-05-28 17:15:38 +02:00
  • dd2fa12d57 There is no need for operator bool conversion: - it was there for != NULL checks when convert-to-pointer existed, which is no longer the case. vsonnier 2017-05-28 14:57:17 +02:00
  • 3095f8205a CubicVR2: more restricted operators on structures by removing convert-to-pointer. (Fix #550 ?) vsonnier 2017-05-28 12:28:19 +02:00
  • 56b56685e0 Yet Another Semicolon After Endif left... (#549) vsonnier 2017-05-27 15:28:42 +02:00
  • 3de3d3eee8 Tentative fix #549 prt 3 vsonnier 2017-05-27 12:36:47 +02:00
  • b3dd0b0d6e Tentative fix #548 part 2 vsonnier 2017-05-27 09:49:19 +02:00
  • d170f731c5 Fix #549, plus more usual syntax for #548 vsonnier 2017-05-27 07:46:28 +02:00
  • fcf9f0bb82 Potential fix for #548, to be tested in Nix-like environnements vsonnier 2017-05-26 23:21:56 +02:00
  • a0526f757e ReBuffer somewhat cleaner, safer code vsonnier 2017-05-26 10:29:47 +02:00
  • 44cdfa8521 Make ReBuffer also GC its own memory + cleanups: - Use deque in ReBuffer instead of vector (as before) because it allows freeing its memory - Random cleanup: remove mutable when not needed. vsonnier 2017-05-25 16:39:01 +02:00
  • 3192ee0e71 Merge pull request #547 from cjcliffe/vso_ReBuffer_with_shared_ptr Vincent Sonnier 2017-05-25 12:32:11 +02:00
  • 9b0ce69e8f Use the nuclear option to solve the hung problem: Besides deadlocks, a thread can in theory get stuck in a blocking pop(), not seeing the stopping flag in particular. So assure liveness by making all pop() timed pop. vsonnier 2017-05-25 09:32:27 +02:00
  • 77a82e1617 Another fix for the neverending hung application bugs: - Clear up DemodulatorInstance garbage collection, only do it in a single thread (AppFrame::OnIdle) - Add a specific mutex lock for the list of deleted demodulators, - Add a specific lock to control DemodulatorInstance thread lifetimes, protecting IsTerminated() of concurrent join and delete vsonnier 2017-05-24 18:55:37 +02:00
  • 4b323e9863 Make ReBuffer refcount management automatic, using std::shared_ptr: - No longer need to call setRefCount() / decRefCount() - Restore old ThreadBlockingQueue using std::deque, for std::shared_ptr correct behaviour. vsonnier 2017-05-24 12:24:36 +02:00
  • 8776908340 Fixes #546, when MTU > nb samples per-frame, overflow management was wrong. vsonnier 2017-05-23 11:06:17 +02:00
  • 5797548739 SoapySDRThread tweak: directly resize to the final size when building SDRThreadIQData vsonnier 2017-05-23 10:44:55 +02:00
  • af20f680a4 Clearer ThreadBlockingQueue impl by using a field to hold size... vsonnier 2017-05-21 21:04:12 +02:00
  • 313d66e1d6 Merge pull request #545 from cjcliffe/vso_circular_buffer_for_queue Vincent Sonnier 2017-05-21 10:31:22 +02:00
  • 41c7dd231b Fix tabs introduced in latest commits... vsonnier 2017-05-21 09:58:45 +02:00
  • e0af609224 Use a circular buffer for ThreadBlockingQueue (allocation-free) vsonnier 2017-05-20 21:49:17 +02:00
  • fc2716518d SoapySDRThread: more comments about the relation between MTU and sample rate vsonnier 2017-05-21 09:20:41 +02:00
  • c1fef72103 Use more a reliable time source in Windows for the Timer class vsonnier 2017-05-20 13:20:29 +02:00
  • a541e55ff6 SaopySDRThread simplified, (small) perf improvement: No longer use inpBuffer, write to SDRThreadIQData->data directly. vsonnier 2017-05-19 20:01:07 +02:00
  • 21a6d2b5f6 Module bundling fix for OSX BUNDLE_APP 0.2.2 Charles J. Cliffe 2017-05-12 22:19:19 -04:00
  • 1bf7c22f00 Donation list update Charles J. Cliffe 2017-05-11 22:51:39 -04:00
  • 994c67dd93 version bump Charles J. Cliffe 2017-05-11 21:43:50 -04:00
  • 15d8715234 Merge pull request #542 from Dantali0n/master Charles J. Cliffe 2017-04-22 14:35:38 -04:00
  • 0e838327fe Fix portselectordialog sources only in win32 Dantali0n 2017-04-22 20:25:35 +02:00
  • 0cf09d1f5d Fix portselectordialog added with USE_HAMLIB disabled Dantali0n 2017-04-22 14:24:07 +02:00
  • 91fd255c86 Remove temporary windows SSB filtering solution Charles J. Cliffe 2017-04-20 21:19:55 -04:00
  • 43ed37b23c Merge pull request #541 from cjcliffe/serial_detect Charles J. Cliffe 2017-04-20 20:52:44 -04:00
  • 21b2b3d191 MSVC serial fix-up Charles J. Cliffe 2017-04-20 20:41:03 -04:00
  • f9dc1aeb32 Use the right function.. Charles J. Cliffe 2017-04-20 19:53:08 -04:00
  • 43a9150107 Fix rig control menu, add serial port detection and selection dialog Charles J. Cliffe 2017-04-20 19:40:09 -04:00
  • 0a19686b51 Remove 'threadlocal' pedantic and very limited usage that is not supported on all platforms vsonnier 2017-04-05 19:28:18 +02:00
  • c8cca67fc7 Bookmarks: fix for #525 item 2, other cleanups. vsonnier 2017-04-01 19:38:08 +02:00
  • 53c7daa521 Merge pull request #533 from cjcliffe/bookmark_issues Charles J. Cliffe 2017-03-30 22:45:38 -04:00
  • f4d090e65b Tweaks for bookmark selection, activation and group renaming Charles J. Cliffe 2017-03-30 22:26:11 -04:00
  • 8df7feda60 Merge pull request #528 from cjcliffe/feature/build_opts2 Charles J. Cliffe 2017-03-22 21:12:34 -04:00
  • 1529fe3306 Fix flip-flopping config path conflict when using alternate build name. Charles J. Cliffe 2017-03-21 19:30:36 -04:00
  • ba24322fdf Merge pull request #527 from cjcliffe/feature/build_opts2 Charles J. Cliffe 2017-03-20 22:18:36 -04:00
  • ec10f2523e Some additional custom build opts; fix compile order issue on OSX; patch tuning label font glitch. Charles J. Cliffe 2017-03-20 20:20:17 -04:00
  • b0ec698012 Windows: no need to add libusb-1.0.dll binaries: - libusb current master compiled with Visual C++ seems finally OK despite being a commmon deps between hamlib and SoapySDR. vsonnier 2017-03-19 09:39:20 +01:00
  • cadee60c15 Merge pull request #524 from cjcliffe/bookmark_label_edit_consistency Charles J. Cliffe 2017-03-16 23:27:03 -04:00