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
b315bac97f
Change boolean to bool
...
void DemodulatorMgr::garbageCollect(boolean forcedGC)
should be
void DemodulatorMgr::garbageCollect(bool forcedGC)
2017-06-01 21:05:49 -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
8f608bbf5c
Cleanup: remove some unused params and variables, conversion warnings seen with #550 .
2017-05-29 20:22:10 +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
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
c8cca67fc7
Bookmarks: fix for #525 item 2, other cleanups.
2017-04-01 19:38:08 +02:00
vsonnier
946a9801dc
FIX: Inactive demod bendwiths are restored to 0 from sessions, because they were erroneously saved as such.
...
The problem lies in DemodulatorPreThread:
- settings were actually get/set unprotected from concurrent access (bendwiths, frequencies, sample rates...etc) so make them atomic.
- If bandwith has changed, return the new value instead of the current one, just like frequencies.
2017-02-20 21:39:12 +01:00
vsonnier
89cac5db88
FIX: wrong directive placement prevent building witout HAMLIB
2017-01-03 18:41:38 +01: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
020cef12c9
Recents list, DataTree rewindAll(), Bookmark view updates
2016-10-05 19:10:01 -04:00
Charles J. Cliffe
003758b799
Improve active list integration/interactivity
2016-09-29 20:47:38 -04: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
Charles J. Cliffe
037be13fac
Rebuffer Garbage collector; mostly to pinpoint/gracefully handle ReBuffer failures
2016-06-07 19:54:36 -04:00
vsonnier
5bb43f5aaa
Replace mutex lock/unlock pairs with guards, cleanups
2016-06-03 18:45:03 +02:00
Charles J. Cliffe
423c83f500
mutex locking cleanup for demod add / remove chain
2016-06-02 21:48:01 -04:00
Charles J. Cliffe
688181e566
Cleanup MSVC warnings and deprecated C++ exception stuff
2016-06-01 19:42:34 -04:00
Charles J. Cliffe
c1863d9319
Basic cleanup / mutex additions / bulk demod add
2016-05-31 19:58:37 -04: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
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
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
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
724808d9ff
Clean-up/fix squelch
2015-11-21 15:12:20 -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
eaaf6cd02e
Merge pull request #143 from cjcliffe/master
...
update lab
2015-09-12 14:11:55 -04:00
Charles J. Cliffe
3ce569f043
MSVC / Win32 x86 fixes
2015-08-31 20:26:17 -04: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
Charles J. Cliffe
5033d6f5d8
Merge ui panel code and refactoring
2015-07-30 21:53:29 -04:00
Charles J. Cliffe
10e35002f1
AudioThread & demod worker IOThread queues, cleanup
2015-07-30 19:30:46 -04: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
Charles J. Cliffe
24fe742f8e
Improve SSB UI visuals and interactivity
2015-02-16 02:15:04 -05:00
Charles J. Cliffe
4218fb73a0
Demod visual activation when entering/leaving view
2015-02-05 20:54:04 -05:00
Charles J. Cliffe
524cfbe0df
Demodulator options persist and apply to newly created
2015-02-02 20:10:55 -05: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
a18d59aa44
missing demodulator pop on terminate
2015-01-10 22:45:43 -05:00
Charles J. Cliffe
f454c34245
Save / Load session working
2015-01-10 12:27:03 -05:00
Charles J. Cliffe
9f945026b8
Fix frequency related data types for >2Ghz
2015-01-04 17:11:20 -05:00
Charles J. Cliffe
9e32ef478d
Cleanup, reformat
2014-12-16 21:30:03 -05:00