Charles J. Cliffe
4605eaccf0
Cleanup: demodulator mgr, instances, threads
2021-04-04 22:14:31 -04:00
vsonnier
5ab44e3104
Use spin-locks for short-lived, non-recursive locking sequences
2019-03-03 10:36:10 +01:00
Charles J. Cliffe
6af64752be
Merge branch 'master' into audio_recording
2017-11-01 22:34:28 -04:00
vsonnier
3cc49bdb15
Fixes #581 ?: Do not set std::shared_ptr to nullptr in constructors (useless anyway) since they could be wrongly interpreted
2017-10-16 18:50:55 +02:00
Charles J. Cliffe
f8e51df8cd
Demod instance start/stop recording setup
2017-10-09 20:07:40 -04:00
vsonnier
3842cf087f
More terminate()-and-flush calls missed before
2017-08-29 18:48:59 +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
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
c7467a88bc
BLOCKING_QUEUE: prepare by raising up max queue lenghts
...
BLOCKING_QUEUE: Replaced ThreadQueue usage by ThreadBlockingQueue usage
BLOCKING_QUEUE: instrument all push() with timeouts, showed some call have to be non-blocking...
BLOCKING_QUEUE: tuned push()/try_push()
2017-02-14 18:42:05 +01:00
Charles J. Cliffe
3ec14fbe38
Licence fix, add SPDX-License-Identifier, remove unused code files
2017-01-02 21:07:43 -05:00
vsonnier
0d50a2b241
SMALL_SQUELCH_CLEANUP: No need to DSP tricks to compute magnitude, sqrt() is free on desktop CPUs
2016-08-13 21:25:54 +02:00
Charles J. Cliffe
9f5c674646
Make sure squelch lock is released on de-activate too
2016-08-13 14:18:41 -04:00
Charles J. Cliffe
2bbae7209f
Solo squelch break focus lock/tweak
2016-08-12 22:58:33 -04: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
Charles J. Cliffe
df4fb649f3
minor init typo
2016-06-02 01:20:42 -04:00
vsonnier
41ca39eab7
FIX audioVisOutputQueue nullptr crash
2016-06-01 19:32:22 +02:00
Charles J. Cliffe
008a7bf77d
Add solo squelch break
2016-02-11 01:32:39 -05:00
Charles J. Cliffe
7b301fadc1
Clean up some early prototype garbage..
2015-11-22 23:25:45 -05:00
Charles J. Cliffe
724808d9ff
Clean-up/fix squelch
2015-11-21 15:12:20 -05:00
Charles J. Cliffe
a55dcad8be
Remove unused demod buffer
2015-11-20 22:13:09 -05:00
Charles J. Cliffe
10aa9f86dd
Apply source formatting for demodulator thread
2015-11-18 21:13:04 -05:00
Charles J. Cliffe
ea005014ae
Refactor digital code, prepare for implementation
2015-11-18 21:09:51 -05:00
Charles J. Cliffe
5f6b492478
Analog modems now somewhat functional
...
- Still major memory leaks.. :)
2015-11-17 23:23:23 -05:00
Charles J. Cliffe
f53e228849
Cleanup / finalize demod before initial testing
2015-11-17 21:49:02 -05:00
Charles J. Cliffe
62ca78141f
Analog chain mostly complete
2015-11-17 21:22:51 -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
a1a6a467e8
Modem, ModemKit and initial ModemAnalog refactor
2015-11-16 23:49:54 -05:00
Charles J. Cliffe
2974546436
update digital_lab
2015-08-26 20:32:53 -04:00
Charles J. Cliffe
c30cce9114
Add functional Spectrum view to demodulator visuals
...
- Might need to do some renaming from Scope->AVDisplay or something for
ScopeCanvas to avoid confusion.
2015-08-24 01:31:37 -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
5033d6f5d8
Merge ui panel code and refactoring
2015-07-30 21:53:29 -04:00
Charles J. Cliffe
5bbcf7aa11
DemodulatorThread visual out queue /w IOThread::onBindOutput
2015-07-30 00:52:00 -04:00
Charles J. Cliffe
0a9dd7692a
DemodulatorThread convert to IOThread named queues
2015-07-30 00:28:53 -04:00
Charles J. Cliffe
05cd99bbf1
IOThread all the things!
2015-07-29 20:57:02 -04:00
Charles J. Cliffe
f731602017
initial ScopeVisualProcessor, ReBuffer template
2015-07-28 21:56:39 -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
74255606df
Implementing digital data buffer with vectors
2015-06-29 21:55:21 +02:00
Dantali0n
cac5d0b9ea
digital output 'buffer' and fix ifdef
2015-06-18 22:07:53 +02:00
Dantali0n
951a1ee9c6
Requested Constellations & actual Constellations are now separated.
2015-06-10 19:39:08 +02: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
corne lukken
0a0e7db242
deModulators selections
2015-06-03 11:23:16 +02: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
93e88a9208
Import TinyXML and DataTree, OSX related UI tweaks
2015-01-07 20:23:15 -05:00