Commit Graph

1251 Commits

Author SHA1 Message Date
vsonnier
8dfc7503f2 Fix wrong condition in DataTree 2019-03-03 13:22:29 +01:00
vsonnier
6afa3a6d6a Reduced SpinMutex scope in VisualProcessor::distribute() 2019-03-03 11:42:34 +01:00
vsonnier
5ab44e3104 Use spin-locks for short-lived, non-recursive locking sequences 2019-03-03 10:36:10 +01:00
vsonnier
44a9274cb1 More fake partial template specialization 2019-03-01 22:18:43 +01:00
vsonnier
dd92e75cda Try to workaround explicit specialization in class scope error for GCC and friends 2019-02-28 22:05:27 +01:00
vsonnier
3b47045d28 Rework of DataElement to use more templates and much less memcpy... 2019-02-22 20:19:30 +01:00
Charles J. Cliffe
9ed085123a More AppFrame cleanup, active/current modem verbage adjustments 2019-02-11 22:59:43 -05:00
Charles J. Cliffe
a958912da6 Move Session stuff to SessionMgr 2019-01-30 23:24:33 -05:00
Charles J. Cliffe
1f70f9189e AppFrame clean-up, first pass 2019-01-22 00:01:31 -05:00
Jake Drahos
4ca6e8dba9 Safer calls to setGainMode
Will call hasGainMode first - this will prevent crashes when the underlying
device situationally doesn't support setGainMode calls.
2019-01-13 21:53:37 -06:00
Charles J. Cliffe
c57a123130 Additional warning fixes; run brew update before brew install for hamlib 2019-01-10 21:23:26 -05:00
Charles J. Cliffe
e75387c25d Warning cleanup, fix travis config 2019-01-10 20:49:24 -05:00
vsonnier
b27a8890d6 Fix #689: Wrong setAudioSampleRate code, thanks @GkvJeep 2018-11-14 20:16:11 +01:00
vsonnier
f03925d27f Fix #677: SDRPostThread : Do not push twice the samples in single-channel mode, refactorings and simplifications. 2018-09-15 08:33:22 +02:00
vsonnier
5db28da361 Fix #678: be clean when leaving SDRPostThread 2018-09-15 07:12:50 +02:00
vsonnier
00c0693574 Fix #675 cut-n-paste giving wrong demod data queue (thanks @GkvJeep) plus boost of AudioThread queue size to prevent stuttering at very high CPU loads 2018-08-31 20:21:45 +02:00
Charles J. Cliffe
43f4f3d75e Donation list update 2018-08-17 22:44:13 -04:00
vsonnier
f9346fc616 Regenerated forms with wxFormsBuilder v3.81 which includes small fixes for wxWidgets 3.11, fdp projects format auto-migration to this version 2018-08-12 07:54:42 +02:00
vsonnier
2f84df3c47 Make DataTree throw exception objects, instead of dynamically allocated ones for simplicity 2018-06-08 05:58:55 +02:00
vsonnier
cf06709cb4 Fix memory leak of the previous commit 2018-06-07 21:44:17 +02:00
vsonnier
3e4aadfaef Fix #659 : Allow manual editing of user_labels in normal ASCII 2018-06-06 20:49:37 +02:00
vsonnier
35482a0ede Improved CPU usage menu wording a bit 2018-05-19 16:16:36 +02:00
vsonnier
f8317a6438 Fix wrong variable declaration placement preventing build w/o Hamlib 2018-05-18 17:04:39 +02:00
vsonnier
6faa2f87b3 Changed Low-perf mode into a CPU usage submenu (low, Normal, High) where High means PFBCH2 usage 2018-05-17 17:54:31 +02:00
Charles J. Cliffe
89f56284c8 Default to PFBCH until toggle for PFBCH2 preference is available 2018-05-07 22:14:50 -04:00
Charles J. Cliffe
94b0b04b59 Merge branch 'master' into firpbch2_mode 2018-05-07 20:30:19 -04:00
Charles J. Cliffe
5731a93354 Version bump, donation updates 2018-04-26 22:15:31 -04:00
Charles J. Cliffe
4240b0efc2 Merge remote-tracking branch 'origin/master' into firpbch2_mode 2018-04-26 20:09:42 -04:00
vsonnier
1cc60bfc8d Fixes #635 round 5, Bookmarkview : let the buttons be of default color 2018-03-24 17:32:54 +01:00
vsonnier
c9d38ab363 Fixes #635, round 4, Bookmarkview : always have Start/Stop Recording button irrespective of the actual demod active state 2018-03-24 09:48:18 +01:00
vsonnier
a25253e745 Fix #635 round 3, BookmarkView: clear the buttons when 'Remove active' 2018-03-24 09:36:06 +01:00
vsonnier
00a864f741 Fix #635 Round 2 for Bookmarkview on Windows, should be OK now 2018-03-24 08:45:50 +01:00
vsonnier
120d394f01 Simpler #634, always use the first choice when out of bounds 2018-03-24 07:06:39 +01:00
vsonnier
4cd8735014 Fix #634 plus #534: bound checking in SDRDevices dialog selection 2018-03-21 06:35:59 +01:00
Charles J. Cliffe
cdaae140fd
Merge pull request #637 from cjcliffe/master
Updates from master
2018-03-20 16:55:05 -04:00
vsonnier
225a795f31 Fixes for #635, round 1: BookmarkView 2018-03-20 20:00:59 +01:00
vsonnier
e46d7f9735 Migration to wxWidgets v3.11:
- Seen on Windows: Bookmarkview slow update because the controls are self-reacting to the rebuild control events, so fix nullify them during control rebuilding.
- Update OpenGL initialization using v3.1 level context and canvas attributes instead of the deprecated calls.
2018-03-11 11:47:14 +01:00
vsonnier
8e52f232cf Visual scale is called Visual Gain in manual, so use the same naming in tooltips 2018-03-11 10:37:21 +01:00
vsonnier
10a4e391d7 Fix #630 improvement on Zoom(s) functions:
- Right-drag now does the same thing on both Spectrum and Waterfall, i.e change and hold vertical scale,
- So Right-drag on Waterfall no longer zoom bandwidth, there are already much more practical ways to do it (up/down, wheel)
- Right-click to reset vertical scale stays only enabled on Spectrum.
- Adapted mouse cursors to reflect the possible moves on Spectrum and Waterfall.
- Updated both Waterfall and Spectrum tooltips to match those features.
2018-03-11 10:04:57 +01:00
Charles J. Cliffe
b193456ccb Merge branch 'master' into firpbch2_mode 2018-02-20 00:17:37 -05:00
Charles J. Cliffe
8cb5e9e244 SDRPostThread clean-up and re-factoring 2018-02-20 00:16:54 -05:00
vsonnier
7f732735ce Fix #616 wrong WAV size reported in header (thanks @nsmith-) 2018-02-18 19:49:47 +01:00
vsonnier
c1e60f31f5 Fix #615 Be smarter when looking for font resources 2018-02-15 19:02:56 +01:00
Charles J. Cliffe
afc29303c9 2x channel bandwidth firpfbch2_crcf optional path 2018-02-14 21:24:22 -05:00
vsonnier
490f72ceeb Fix #614: Wrong Freq offset applied if set from SDR Devices 2018-02-07 13:13:52 +01:00
vsonnier
f2de1dd987 Fix #601 ?: Removed deadlock that prevent Audio controller threads to die. 2018-01-22 20:11:13 +01:00
vsonnier
b55609c802 AudioThread: rollback some guard code because of previously wrong understanding 2018-01-22 07:26:13 +01:00
vsonnier
033bbd07df AudioThread: re-apply consistent formating 2018-01-22 07:10:45 +01:00
vsonnier
fc1c1c3b4d AudioThread: rollback deviceCleanup() to only doing terminate + TEST: apply to all platforms 2018-01-22 07:04:45 +01:00
vsonnier
36224defd7 AudioThread: Rework mutex usage (again) + added proper cleanups (hopefully) 2018-01-21 18:08:46 +01:00
vsonnier
d8ac9559fe BoolmarkMgr: rationalize a bit the usage of recursive_mutexes 2018-01-16 20:43:00 +01:00
Charles J. Cliffe
7588e77d94 Donation list update 2018-01-14 19:41:41 -05:00
Charles J. Cliffe
7baaca1216 OSX crash-on-exit fix, File menu tidying, Confirm bookmark reset 2018-01-14 18:56:30 -05:00
vsonnier
4c6d7ab4d7 Fix wrong multi-part WAV sequence management with time-limit files 2018-01-14 15:30:40 +01:00
vsonnier
3334538e64 Fix boolean usage instead of bool (we are not Java, are we ?) 2018-01-13 12:17:02 +01:00
vsonnier
4e6197c579 Fix minor cut-n-paste error in AudioSinkFileThread 2018-01-13 12:13:41 +01:00
vsonnier
26deefd606 Added #583: add periodic file generation, plus other options:
- Added a Recording menu,
git commit -m Added
2018-01-13 11:50:31 +01:00
vsonnier
4d0f3a794d Merge remote-tracking branch 'origin/master' into audio_recording 2018-01-12 19:31:33 +01:00
vsonnier
7b904bf803 Add a Reset Bookmarks menu (empty the bookmarks), similar to Reset Session 2018-01-12 19:26:22 +01:00
vsonnier
64e44d6172 Merge remote-tracking branch 'origin/master' into audio_recording 2018-01-10 19:00:04 +01:00
vsonnier
0f72a0f683 Fix #593 : Make the middle of the range always the central frequency 2018-01-09 20:22:56 +01:00
vsonnier
978cf492f8 Merge remote-tracking branch 'origin/master' into audio_recording 2018-01-09 07:07:11 +01:00
vsonnier
f1208c7f5c When saving bookmarks, use active information when available
+ Fixed std::string <=> std::wstring conversions using wxString
+ cleanups.
2018-01-08 19:26:34 +01:00
vsonnier
fc0f20f07d Removed recording duration limitation:
- Limit WAV size to 2GB for maximum compatibility,
- Continue recording on another file when size gets too big (XXX_001.wav, then XXX_002.wav and so on)
- The sequence assure up to 2000GB worth of recording which should be enough
- Changed file pattern to international Year.Month.Day so its recognizable whether you are English of French or whatever :)
2018-01-07 08:59:39 +01:00
vsonnier
8f45451df2 Choose a valid audio output if the modem-saved one is not recognized. 2018-01-06 16:15:40 +01:00
vsonnier
8daadc3603 Missing trace in AudioSink queue saturation 2018-01-06 15:10:25 +01:00
vsonnier
1dbfcedcd2 Fix to record below-squelch levels as audio silence 2018-01-06 14:19:32 +01:00
vsonnier
d4251b41fb Feature #486 : Save/Load bookmarks into files 2018-01-06 10:22:14 +01:00
Charles J. Cliffe
be75c62778 Menu and demod display tweaks 2018-01-02 23:51:32 -05:00
Charles J. Cliffe
8609667f33 About Dialog code update, passive vcredist install 2018-01-02 00:13:09 -05:00
Charles J. Cliffe
f625cb6eea Donation list update 2018-01-01 22:12:04 -05:00
Charles J. Cliffe
e6cd2ae774 AppImage fix - put_time req. GCC 5+ 2017-12-31 20:59:06 -05:00
Charles J. Cliffe
9b1f7b828c Merge branch 'master' into audio_recording 2017-12-31 14:54:41 -05:00
Charles J. Cliffe
5c45c1cf6b Record muted, toggle-all recording /w shift-R, status texts 2017-12-29 22:46:39 -05:00
Charles J. Cliffe
b9e4f6aeba Recording path notify, bookmark panel record buttons, tweaks and adjustments 2017-12-04 22:44:47 -05:00
vsonnier
ada56440fc Fix reloading of gains at startup. 2017-11-25 09:47:43 +01:00
vsonnier
4b077af873 Fix for gain sliders not perfectly following integer gain steps from the menu (i.e RSPx RF gains) 2017-11-20 18:53:38 +01:00
vsonnier
e44af72b00 Assure Gain control <==> Settings menu synchronization in case of mutually depdendent updates 2017-11-19 17:06:11 +01:00
Charles J. Cliffe
326a993a29 Sequence recording on format change; user label as filename when available 2017-11-16 23:53:30 -05:00
Charles J. Cliffe
8f31fd9f5b Recording is now writing playable .WAV files 2017-11-02 00:01:22 -04:00
Charles J. Cliffe
6af64752be Merge branch 'master' into audio_recording 2017-11-01 22:34:28 -04:00
vsonnier
d55d7e9b75 Halloween Warning cleanup:
- wxFont SetFont() deprecated warnings, suppressed by re-generating forms with latest wxFormBuilder,
- double-to-float implicit conversion in CubicVR2
2017-10-31 11:08:15 +01:00
vsonnier
d8ff4ea1de Squash some warnings with std::shared_ptr init seen on Ubuntu 16.04 2017-10-29 15:06:24 +01:00
vsonnier
89d12ef4e3 #513 Workaround in case the number of samples rates is too much to be handled by the menu, decimate to 25 max. 2017-10-28 13:12:27 +02:00
vsonnier
230a87d8df AudioThread: Revised mutex usage for devices vs. AudioThread* due to erroneous implem., creating crashes in some cases
(damn those things are hard...)
2017-10-28 11:57:01 +02: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
vsonnier
6019207bd4 VisualProcessor : protect against null input queue 2017-10-15 08:51:01 +02:00
vsonnier
f4107c1541 Optimized VisualProcessor by using a non-recursive mutex and making some ops non-blocking, small AudioThread opt as well 2017-10-14 11:34:25 +02:00
Charles J. Cliffe
38fab6ac51 Add 'R' toggle key + fixes from initial testing 2017-10-12 00:08:22 -04:00
Charles J. Cliffe
f8e51df8cd Demod instance start/stop recording setup 2017-10-09 20:07:40 -04:00
Charles J. Cliffe
c202d99a2a initial audio sink file and thread handling rough-in 2017-09-26 23:25:55 -04:00
Charles J. Cliffe
21dd062da0 Merge branch 'master' into audio_recording 2017-09-24 23:56:37 -04:00
Charles J. Cliffe
a398bc57f1 Initial AudioSink thread base and recoring preference 2017-09-24 23:50:08 -04:00
vsonnier
1a73f627a2 Frequency entry dialog font is slightly too big to fit, use the same as Label dialog instead 2017-09-24 12:46:33 +02:00
vsonnier
927d727a16 Try not to use atomics in performance code 2017-09-22 22:53:59 +02:00
vsonnier
aec0100f78 ThreadBlockingQueue : remove useless/dangerous operations, forbid both copy and assignment. 2017-09-10 19:35:12 +02:00
vsonnier
afedca05c6 Updated liquid-dsp v1.30 Windows binaries to GCC 7.2.0 (MSYS2) 2017-09-02 21:49:20 +02:00
vsonnier
030628c5ed SDRPostThread is better using try_push, restore previous audio-related code in DemodulatorInstance 2017-09-02 16:24:25 +02:00
vsonnier
87077a89c1 Fix #574: cannot enter frequency offsets > 2GHz 2017-09-01 18:39:35 +02:00
vsonnier
252b6bf9f8 AudioThread polishing 2017-09-01 06:18:35 +02:00