55 Commits

Author SHA1 Message Date
vsonnier
b52c4ac8a6 This lock is actually needed, restore it. 2017-08-27 13:35:11 +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
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.
2017-05-25 16:39:01 +02:00
vsonnier
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
2017-05-25 08:03:08 +02: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
dedac01709 Moving signal ceil/floor for squelch 2016-08-10 14:02:25 -04: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
vsonnier
52de909cfb THREAD_CLEAN: Clearly distinguish between a request to stop by terminate() from the actual termination isTerminated() 2016-06-28 22:16:34 +02:00
vsonnier
55ca1c465a Basic support is here for user labels, even if DataTree only support 8bit strings
Regenerated fonts with up to 254 characters. Rendering is OK, but DataTree do not able to save it...
2016-06-12 17:05:11 +02:00
vsonnier
00e241a784 LABEL: first attempt, <user_label> is read from session XML, apparently also saved. 2016-06-11 07:46:07 +02:00
Charles J. Cliffe
fa9dfc2fb4 Rough visual cue for demod instances, implement squelch break indicator 2016-06-03 20:05:38 -04: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
76d69ffd78 Add GMSK, fix modem bandwidth logic, cleanup. 2015-11-30 21:58:54 -05:00
Charles J. Cliffe
7e4d173996 Basic console window for digital output
- Probably end up making this a single tabbed dialog but this works for
the moment
2015-11-28 23:03:07 -05:00
Charles J. Cliffe
e68ab1e82f Remember settings when toggling modem types
- Some additional race condition fixes for showing/hiding the modem
property grid
2015-11-26 22:06:29 -05:00
Charles J. Cliffe
4fa0cb7c67 Persist modem settings on new instances 2015-11-26 01:54:54 -05:00
Charles J. Cliffe
abdb5d32d9 Modem instance setting read/write 2015-11-23 22:16:09 -05:00
Charles J. Cliffe
4a62eae096 Convert constellation code to ModemArgInfo settings
- Note: can’t set constellation yet until property grid is added
2015-11-23 20:03:47 -05:00
Charles J. Cliffe
7b301fadc1 Clean up some early prototype garbage.. 2015-11-22 23:25:45 -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
63ea642c88 Clean-up unused stereo states. 2015-11-20 21:55:37 -05:00
Charles J. Cliffe
dfd7496175 digital modem wrap-up and re-connect
- Compiles but untested
2015-11-18 23:40:30 -05:00
Charles J. Cliffe
39c42c2b82 Add modemkit to demod chain 2015-11-17 19:32:47 -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
2974546436 update digital_lab 2015-08-26 20:32:53 -04:00
Charles J. Cliffe
9de1abd539 Add mute button and 'M' to toggle mute on waterfall hover 2015-08-17 00:59:38 -04:00
Charles J. Cliffe
5f96f4c839 Merge pull request #124 from cjcliffe/ui_visuals_to_panels
Ui visuals to panels
2015-08-04 17:09:07 -04:00
Charles J. Cliffe
560eec1336 ScopeVisualProcessor now working 2015-08-01 11:03:00 -04:00
Charles J. Cliffe
5033d6f5d8 Merge ui panel code and refactoring 2015-07-30 21:53:29 -04:00
Charles J. Cliffe
c1774ee96a Cleanup / refactor "pipe" names for clarity 2015-07-30 20:36:06 -04:00
Charles J. Cliffe
6b61943fba Merge work from @Dantali0n to digital_lab branch, thanks\! 2015-07-20 00:00:50 -04:00
Charles J. Cliffe
6beeb70549 Disable I/Q AGC when gain < 0.25 2015-07-19 15:34:06 -04:00
Dantali0n
f71d04eb75 Propagate Constelattion setting to demodulator, not working properly yet. 2015-06-10 10:50:14 +02:00
Dantali0n
b76eafe8df Fix lock UI update and start on constellation implementation 2015-06-09 17:00:05 +02:00
Dantali0n
9e1601c446 Working demodulator lock status text 2015-06-05 09:51:46 +02:00
Charles J. Cliffe
8589a39f66 Simple active demod tracking, helptip updates. 2015-04-23 19:38:44 -04:00
Charles J. Cliffe
3af564037c New tuning bar now functional 2015-03-26 22:45:52 -04:00
Charles J. Cliffe
4147582d2a Refactor for sample rate changes, audio thread race crash fixes 2015-03-15 21:02:26 -04:00
Charles J. Cliffe
b4e4f3017f Remove public access to demod internal state vars and clean-up improper use 2015-02-02 18:24:04 -05:00
Charles J. Cliffe
e504f4f282 Fix demodulator selection menu radio and display 2015-01-25 21:03:17 -05:00
Charles J. Cliffe
60b5dbb07f Per-demodulator gain settings 2015-01-10 20:33:30 -05:00
Charles J. Cliffe
9f945026b8 Fix frequency related data types for >2Ghz 2015-01-04 17:11:20 -05:00
Charles J. Cliffe
44bee1f553 Cleanup, demod limits, prevent negative freq, move iq resampler process back to demodulator pre thread 2015-01-04 13:20:31 -05:00
Charles J. Cliffe
4f43f65065 AM, USB and LSB somewhat working 2015-01-01 18:08:54 -05:00
Charles J. Cliffe
8b89b27b40 Experimental AM/LSB/USB demodulation 2015-01-01 03:48:32 -05:00
Charles J. Cliffe
6679b20fbb Can now choose demodulator output devices 2014-12-31 21:31:37 -05:00
Charles J. Cliffe
b7793ef905 Squelch slider/signal indicator 2014-12-31 19:45:01 -05:00
Charles J. Cliffe
0fc47bc916 FM Stereo experiment, partly working 2014-12-26 20:58:42 -05:00
Charles J. Cliffe
576a77e095 Update remaining buffers, cleanup 2014-12-24 01:28:33 -05:00