174 Commits

Author SHA1 Message Date
vsonnier
3c3939e0b7 Use nullptr instead of NULL when shared_ptr is used 2017-08-27 13:00:32 +02:00
vsonnier
37712c7a81 Simplify SDRPostThread: no longer binding methods, directly use the true list of demodulators 2017-08-27 12:39:28 +02:00
vsonnier
a8f8f4a7e2 Initial commit: working... 2017-08-27 11:11:30 +02:00
vsonnier
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.
2017-08-13 19:19:25 +02:00
vsonnier
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.
2017-05-24 12:28:37 +02:00
vsonnier
a161cf51f9 OPTION1: Boost line numbers of main and demod waterfall from 512/128 to 1024/256 2017-02-05 18:54:17 +01:00
vsonnier
115b0ffa58 CLEANUP: some compiler and static analysis warnings 2017-01-28 14:57:27 +01:00
vsonnier
848d1bf0e3 Manage B key correctly activated for spectrum, not waterfall. Add another independent B (dB) key for audio scope 2017-01-27 23:23:25 +01:00
Charles J. Cliffe
3ec14fbe38 Licence fix, add SPDX-License-Identifier, remove unused code files 2017-01-02 21:07:43 -05:00
Charles J. Cliffe
6ede20c3e8 Prevent solo-squelch focus from interrupting user actions; acts as temporary hold as well 2016-08-16 17:55:40 -04:00
vsonnier
b495b388c9 TH_CLEAN_3: Use of non-blocking try_pop() when possible,
AudioThread concurrent access hardening and simplified,
and misc.
2016-07-05 21:45:42 +02:00
vsonnier
567d84711f THREAD_CLEAN_PART2: Assure correct terminate()/isTerminated(delay)/delete sequence +
Removed the NotifyQueue between DemodulatorInstance participants, actually not needed
since DemodulatorInstance::IsTerminated() is explicitly called on some events for cleanups

DELETE_CLEANUP: properly nullify deleted pointers when needed
2016-07-03 14:22:41 +02:00
Charles J. Cliffe
8f2ce9f6dc Move mute handler to global keys; now works with selected + hovered 2016-06-11 22:13:42 -04:00
vsonnier
d7d9fc8c32 LABEL: Add a label edit dialog, much like FrequencyDialog, works not bad 2016-06-11 10:08:12 +02:00
Charles J. Cliffe
fa9dfc2fb4 Rough visual cue for demod instances, implement squelch break indicator 2016-06-03 20:05:38 -04:00
vsonnier
5bb43f5aaa Replace mutex lock/unlock pairs with guards, cleanups 2016-06-03 18:45:03 +02:00
Charles J. Cliffe
688181e566 Cleanup MSVC warnings and deprecated C++ exception stuff 2016-06-01 19:42:34 -04:00
Charles J. Cliffe
ce1cd27007 ifdef'd windows focus calls, remove unnecessary meter refreshes 2016-05-30 00:17:08 -04:00
Charles J. Cliffe
a0d15026df Tweak mousewheel response for Meter UI elements 2016-05-29 21:03:21 -04:00
Charles J. Cliffe
bd3b9ac921 Fix for windows 7 and below requiring focus for mouse wheel. 2016-05-26 22:53:32 -04:00
Charles J. Cliffe
9ac31040d5 Back out wxGLAttributes update until needed. 2016-04-07 20:00:59 -04:00
Charles J. Cliffe
f4b7baebfa Update to wx 3.1.0 gl attributes, simplify GLFont cache and GC 2016-03-22 20:49:15 -04:00
Charles J. Cliffe
29d411cead Add center line for hovered/new/move state modems 2016-03-07 19:25:12 -05:00
Charles J. Cliffe
1cd8759880 Add center lock and modem tracking to rig control 2016-02-29 23:14:23 -05:00
Charles J. Cliffe
57e4df2b1a Always center rig with 'c' if active. 2016-02-16 01:24:39 -05:00
Charles J. Cliffe
93d2c73fb9 Add delta lock -- lock modem relative to center frequency 2016-02-15 17:43:10 -05:00
Charles J. Cliffe
68bb80f112 Update helptips 2016-02-12 22:13:16 -05:00
Charles J. Cliffe
843363d961 Update hover state on click -- fixes focus issues that tabbing introduces 2016-02-12 20:16:53 -05:00
Charles J. Cliffe
987af4b997 Helptip updates 2016-02-08 23:52:40 -05:00
Charles J. Cliffe
e962ad4a56 Fix keyboard input error system response (auditory beep in most cases) 2016-02-08 23:40:09 -05:00
Charles J. Cliffe
2295b47d69 Initial global keyboard handler setup 2016-02-07 18:01:11 -05:00
Stanisław Pitucha
035353123d Fix signed/unsigned variables 2016-01-29 07:49:31 +11:00
Charles J. Cliffe
6f7234b35a Update status instructions 2016-01-13 00:29:11 -05:00
Charles J. Cliffe
beab55a49e Press 'c' on waterfall/demod to center to frequency 2016-01-13 00:23:06 -05:00
Charles J. Cliffe
7d6a387a77 Updates and improvements for low-bandwidth input usage 2015-12-29 20:52:49 -05:00
Charles J. Cliffe
7038652141 Fix some waterfall zoom navigation mistakes 2015-12-11 19:57:40 -05:00
Charles J. Cliffe
0f8065f48a FSK tweaks, minimum bandwidth adjust 2015-12-01 00:59:11 -05:00
Charles J. Cliffe
76d69ffd78 Add GMSK, fix modem bandwidth logic, cleanup. 2015-11-30 21:58:54 -05:00
Charles J. Cliffe
4fa0cb7c67 Persist modem settings on new instances 2015-11-26 01:54:54 -05:00
Charles J. Cliffe
c0eca0b2f3 Allow modems to limit/control input rate
- Modems can now over-ride user rate input and lock/step as needed
- Separate digital code defs a bit more so it’s not required when
disabled
- Testing FSK based on @andresv ’s example at
https://github.com/jgaeddert/liquid-dsp/issues/9
2015-11-22 19:56:25 -05:00
Charles J. Cliffe
fb677d0ee2 Constructor init order warning fixes 2015-11-20 22:29:04 -05:00
Charles J. Cliffe
63ea642c88 Clean-up unused stereo states. 2015-11-20 21:55:37 -05:00
Charles J. Cliffe
73ca52aee1 Convert demodulator type ids to strings for now 2015-11-17 18:57:42 -05:00
Charles J. Cliffe
798c558c09 Fix bad frequency jumps at zoomed freq <= 1/2 samplerate 2015-10-28 22:07:06 -04:00
Charles J. Cliffe
68d80bde9e Shift + arrow up/down to adjust visual scale 2015-10-25 14:31:56 -04:00
Charles J. Cliffe
e61caaf5a6 Possible null pointer calls, fix unnecessary context switches 2015-10-22 01:42:50 -04:00
Charles J. Cliffe
1e0489f974 Fix some possible threading issues with waterfall canvas 2015-10-22 01:12:51 -04:00
Charles J. Cliffe
71383b4cb6 Avoid extra locking if queue is empty 2015-10-20 18:32:49 -04:00
Charles J. Cliffe
b822704b0c Tweak waterfall update mutex locking 2015-10-20 18:30:41 -04:00
Charles J. Cliffe
c200048bf7 Reduce glTexSubImage2D calls
- far less texture update calls for high speed waterfall rates
2015-10-18 13:44:31 -04:00