Commit Graph

50 Commits

Author SHA1 Message Date
dforsi f461fcb94c
Fix typing errors (#935)
Found with:
codespell --skip=external --ignore-words-list=axix,bord,parm,soley,ue --write-changes --interactive 2

Co-authored-by: Daniele Forsi <iu5hkx@gmail.com>
2021-12-29 19:54:03 +01:00
Charles J. Cliffe 4605eaccf0 Cleanup: demodulator mgr, instances, threads 2021-04-04 22:14:31 -04:00
Charles J. Cliffe 9ed085123a More AppFrame cleanup, active/current modem verbage adjustments 2019-02-11 22:59:43 -05:00
Charles J. Cliffe 1f70f9189e AppFrame clean-up, first pass 2019-01-22 00:01:31 -05:00
vsonnier 3e4aadfaef Fix #659 : Allow manual editing of user_labels in normal ASCII 2018-06-06 20:49:37 +02:00
vsonnier a8f8f4a7e2 Initial commit: working... 2017-08-27 11:11:30 +02:00
vsonnier 98c7c30aee Yet another Thread termination problem found, and try killing the app if the closing turns bad 2017-08-13 12:11:14 +02:00
vsonnier e67a29f5b6 Don't get stuck when closing application just because some Demodulators refuse to die 2017-08-12 11:30:32 +02:00
Dell-Ray Sackett ab6cb059b9 boolean not a valid keyword
changed boolean to bool in garbageCollect
2017-06-01 21:12:06 -07:00
vsonnier 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.
2017-06-01 19:57:58 +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
vsonnier c8cca67fc7 Bookmarks: fix for #525 item 2, other cleanups. 2017-04-01 19:38:08 +02:00
Charles J. Cliffe 5c72b97309 Merge branch 'develop' into master 2017-01-02 21:22:13 -05: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 bf7d67751e Initial bookmark form, move demod data node load/save to demod mgr 2016-09-13 22:59:21 -04:00
vsonnier 21c8a81c32 TH_CLEAN_3.5: push() cleanup side of things, assure SDRThread::readStream() to actually check for full + make ThreadQueue notify even in case on not-successfull push(), make it spam notify_all() everytime 2016-07-08 23:30:15 +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
vsonnier 5bb43f5aaa Replace mutex lock/unlock pairs with guards, cleanups 2016-06-03 18:45:03 +02:00
Charles J. Cliffe c1863d9319 Basic cleanup / mutex additions / bulk demod add 2016-05-31 19:58:37 -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 5a26669832 Add Tab/Shift-Tab next/prev modem 2016-02-11 00:08:56 -05:00
Charles J. Cliffe 416cb54fb9 Improve visual frequency / new demod indicator 2016-01-13 21:29:26 -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 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 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 2974546436 update digital_lab 2015-08-26 20:32:53 -04:00
Charles J. Cliffe 03c8619c5a Carry / preset mute state; mute button visual tweaks 2015-08-19 17:06: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 524cfbe0df Demodulator options persist and apply to newly created 2015-02-02 20:10:55 -05:00
Charles J. Cliffe 9f945026b8 Fix frequency related data types for >2Ghz 2015-01-04 17:11:20 -05:00
Charles J. Cliffe 24cd93d1ae Split DemodulatorMgr and DemodulatorInstance 2014-12-11 23:35:06 -05:00
Charles J. Cliffe 5db4dcdbac prototype drag range demod create/select tool 2014-12-11 20:50:58 -05:00
Charles J. Cliffe f04ec72394 Demodulator garbage collection 2014-12-11 19:07:21 -05:00
Charles J. Cliffe 4d35075655 Can now spawn/delete demodulators 2014-12-10 21:22:13 -05:00
Charles J. Cliffe 380145fdaa Waterfall hover-state/interactivity improvements 2014-12-10 00:34:27 -05:00
Charles J. Cliffe e668fa2b5d Increase demodulator stack size on OSX
Using pthreads as a drop-in, should work since underlying is already
pthreads?
2014-12-01 18:59:07 -05:00
Charles J. Cliffe 0d8991eb67 Demodulator finder, hover states for waterfall 2014-11-30 18:54:13 -05:00
Charles J. Cliffe 06513e2064 Cleanup / re-factor. Pair audio thread with demod 2014-11-30 17:11:29 -05:00
Charles J. Cliffe ddbc08a4ff Drag up/down to set arbitrary FM demod bandwidth
Shouldn't need separate WBFM/FM/NFM setting this way -- Just "FM" and
then set arbitrary bandwidth by dragging.

Also removed redundant demod resampling stages left over from early
experiments.
2014-11-26 21:05:19 -05:00
Charles J. Cliffe cae1855fc5 Move code out of frame, proper thread termination 2014-11-23 19:39:27 -05:00
Charles J. Cliffe 39ba38b82a Cleanup / Reformat 2014-11-22 22:33:32 -05:00
Charles J. Cliffe 58708a720e SDR->Demod->Audio chain all using std::thread
2% CPU usage drop on 3.2G i7 desktop
2014-11-22 22:17:33 -05:00
Charles J. Cliffe 9150439283 Thread priority bump, main thread sleep 2014-11-18 19:02:07 -05:00
Charles J. Cliffe 75c51f1236 missing return params 2014-11-17 23:25:14 -05:00
Charles J. Cliffe dd42d112c9 Demodulator can now be initialized with parameters 2014-11-17 22:58:56 -05:00