Commit Graph

360 Commits

Author SHA1 Message Date
Charles J. Cliffe 4d2ea8d08a Merge pull request #398 from vsonnier/thread_clean_3
thread_clean_3: Multithreading AudioThread hardening, use of try_pop() and more.
2016-07-08 21:28:11 -04:00
Charles J. Cliffe 3eed669382 Comment cleanup 2016-07-08 19:18:28 -04:00
Charles J. Cliffe aa813db490 Fix Mousewheel support 2016-07-07 23:47:58 -04:00
Charles J. Cliffe ebf2443fe2 Gain UI working (minus mousewheel) 2016-07-07 22:37:57 -04:00
Charles J. Cliffe baa5d93ba6 Merge branch 'master' into gain_gui_cleanup 2016-07-06 21:00:04 -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
Charles J. Cliffe a87c58c4a8 Initial Meter Panel work 2016-07-03 20:59:49 -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 7f92733cac Minor manual gain font size tweak 2016-06-23 22:22:30 -04:00
vsonnier 78cfe9c755 DONE. Now GLFont.getFont() retturns a proxy that automatically selects the best font for the required size 2016-06-23 21:28:04 +02:00
vsonnier 83b62cddeb The quest continues, almost done, but have an idea to rework GLFont.drawString() completly, TODO next time 2016-06-22 21:21:32 +02:00
vsonnier 308baf163b GLFont::getFont() is not free, do not call it unnecessarily 2016-06-21 21:26:11 +02:00
vsonnier f52bad6196 Make GLFont its own pixHeight, so don't provide it in drawString() anymore 2016-06-21 21:26:10 +02:00
vsonnier 3918c7b9f4 wstring/string usage pass, should be clean now 2016-06-14 19:52:15 +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
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
vsonnier 00e241a784 LABEL: first attempt, <user_label> is read from session XML, apparently also saved. 2016-06-11 07:46:07 +02:00
vsonnier 1e2f12a571 PEAK: Cut-n-paste, works, amazing ! 2016-06-09 19:38:20 +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
vsonnier c236a2e1cb Fix limitless manual gain slider 2016-06-02 21:03:14 +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 ce697c610d Missed gain canvas focus for Win7 wheel support 2016-05-31 17:42:44 -04:00
Charles J. Cliffe 649d34f811 Make spectrum mouse wheel zoom feature universal 2016-05-30 19:45:38 -04:00
Charles J. Cliffe b8568639c3 Windows focus tweak 2016-05-30 19:25:46 -04:00
Charles J. Cliffe 640b4bb219 Mouse Wheel support for gain; @vsonnier's wheel movement tweak 2016-05-30 19:14:14 -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 419085d27a Add NBFM mode, add mode selector button height font reduction when scaled down 2016-05-11 23:05:56 -04:00
Charles J. Cliffe 68b095ef8d Save sample rate, gain levels and AGC state per-device, add sample rate to device dialog 2016-05-11 22:37:25 -04:00
Charles J. Cliffe 9ac31040d5 Back out wxGLAttributes update until needed. 2016-04-07 20:00:59 -04:00
Charles J. Cliffe cd41a8197e Clean-up extraneous glFlush(), it's all in the main thread on shared context.. 2016-03-31 20:24:38 -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 020145c705 Make FFTW3 optional; liquid-dsp is performing better on it's own.. 2016-03-20 18:56:13 -04:00
Charles J. Cliffe 297e35ebf7 GLFont temporary string compiling/caching with garbage collect 2016-03-15 01:12:31 -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
George Viaud 1362234acd Added mouse-wheel adjustment of squelch and other vertical level selectors 2016-02-25 01:38:26 -08:00
George Viaud 24a4ebb4c2 Added auto-zero to UI for squelch.
Right-Click on signal level bar now sets squelch 2% over current signal level
2016-02-25 00:51:04 -08:00
Charles J. Cliffe 549b03bdc3 Fix for delta lock zoom visuals 2016-02-17 23:01:42 -05:00
Charles J. Cliffe 86bd74e59a Fix visual drag artefact on delta-locked modems 2016-02-17 20:45:56 -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 16ba35a892 Solo mode :) 2016-02-11 01:09:15 -05:00
Charles J. Cliffe d31a628b13 Tooltip toggle tweak for static tooltips 2016-02-09 01:48:51 -05:00
Charles J. Cliffe f377d46467 Better tooltip handling for Windows 2016-02-09 00:28:40 -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 393cd5f635 Add hover helptips, show hover helptips by default for new users. 2016-02-08 22:43:11 -05:00
Charles J. Cliffe 8737728cf9 Control gains with space or numeric entry 2016-02-07 22:19:05 -05:00
Charles J. Cliffe 96d22ee8f7 Set waterfall lps or spectrum avg by space/typing 2016-02-07 21:05:49 -05:00
Charles J. Cliffe 2295b47d69 Initial global keyboard handler setup 2016-02-07 18:01:11 -05:00
Charles J. Cliffe 48aff5baf1 Remove SoapySDR::Device proxy classes and functions, use SoapySDR directly 2016-01-31 15:11:54 -05:00
Stanisław Pitucha 86fab39d84 Even more unused parameters 2016-01-29 07:49:40 +11:00
Stanisław Pitucha 035353123d Fix signed/unsigned variables 2016-01-29 07:49:31 +11:00
Stanisław Pitucha c1eb1de1bd Fix remaining unused parameters 2016-01-27 11:45:54 +11:00
Stanisław Pitucha c59f72d4a0 Cleanup unused var warnings
Clean up compiling output so that actual issues can be spotted. Remove multiple
cases of unused parameter. Remove unused isActive at startup. (demod is started
regardless)
2016-01-27 11:21:53 +11:00
Charles J. Cliffe cec4f7aed1 Fix for being unable to set maximum gain 2016-01-17 10:40:01 -05:00
Charles J. Cliffe 1b491093cb Active freq improve shadow 2016-01-13 23:25:16 -05:00
Charles J. Cliffe f765dc1898 Improve frequency indicator text shadow 2016-01-13 22:39:39 -05:00
Charles J. Cliffe 416cb54fb9 Improve visual frequency / new demod indicator 2016-01-13 21:29:26 -05: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 d2d6f92502 Show frequency / demod preview with snap on waterfall hover 2016-01-13 00:07:42 -05:00
Charles J. Cliffe 62288e485f Improve peak hold usability; add 30 frame delay between resets; don't drag old data around 2016-01-02 01:38:17 -05:00
Charles J. Cliffe 01c10efeff Half-band transition and frequency change peak hold tweaks 2015-12-31 21:28:56 -05:00
Charles J. Cliffe 6df9661db1 Add peak hold to spectrum visuals 2015-12-31 20:44:39 -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 2867f90977 Refresh tuner on half-band change 2015-12-14 19:39:13 -05:00
Charles J. Cliffe 744db7ea98 half-band tuning multiplier missing bandwidth state check 2015-12-13 17:26:19 -05:00
Charles J. Cliffe be8cde6ce3 More zoom tweaks, fix half-band tuner step 2015-12-13 14:09:04 -05:00
Charles J. Cliffe 7038652141 Fix some waterfall zoom navigation mistakes 2015-12-11 19:57:40 -05:00
Charles J. Cliffe 904db013c7 Simple tuner half-band display patch 2015-12-07 20:19:03 -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 c303b68284 Basic X/Y scope plot while in digital mode 2015-11-29 13:35:12 -05:00
Charles J. Cliffe cdddd5850f Legacy session load tweak, modem type selection refresh fix 2015-11-27 00:16:13 -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 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 724808d9ff Clean-up/fix squelch 2015-11-21 15:12:20 -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 80e0d7019f Update digital_lab 2015-11-10 20:53:55 -05:00
Charles J. Cliffe 7b48b4f69f Fix arrow key input on windows 2015-11-01 16:12:22 -05:00
Charles J. Cliffe ba067bcc24 Fix spectrum scale control in Windows 2015-11-01 12:41:13 -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 ac93aa369b Manual Gain Control :-)
- Disable AGC from settings menu
- Requires latest SoapySDRPlay gain commits for SDRPlay
2015-10-27 01:56:49 -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 a6201ad3b5 Add split-view controls; tweak spectrum scale control 2015-10-25 14:09:59 -04:00
Charles J. Cliffe 11aa8e9b05 Right drag spectrum vertically to adjust scale 2015-10-25 00:07:01 -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