Commit Graph

1088 Commits

Author SHA1 Message Date
ZigaS b743943c70 Update to Qt 5.12.0.
Project files with MacOS clang RPATH to use proper paths for shared objects.
Minor path updates in favor of loading plugin libs.
Deployment script packaging using Qt way(macdeployqt).
2018-12-27 09:48:30 +01:00
f4exb d13fb41927 Reverse API: channels: updated plugin versions 2018-12-24 14:52:53 +01:00
f4exb 5036e805d7 Reverse API: WFM demod 2018-12-24 14:46:15 +01:00
f4exb 87e06d8635 Reverse API: UDP Sink 2018-12-24 10:27:35 +01:00
f4exb 81c8a8eef8 Reverse API: SSB demod 2018-12-24 00:51:29 +01:00
f4exb f62b6d82c2 Reverse API: NFM demod 2018-12-23 23:19:05 +01:00
f4exb 6dc443c512 Reverse API: DSD demod 2018-12-22 13:05:48 +01:00
f4exb 98ae61f4e0 Reverse API: BFM demod 2018-12-22 07:16:15 +01:00
f4exb 166d7fca39 Reverse API: Daemon sink 2018-12-21 17:39:04 +01:00
f4exb 35702041a0 Reverse API: Daemon Source 2018-12-20 23:20:21 +01:00
f4exb 7c4b4bc795 Reverse API: format updates 2018-12-19 22:01:26 +01:00
f4exb c02b9a270a Reverse API: added content type when request has JSON body 2018-12-19 08:52:50 +01:00
f4exb 1dc8ca3a98 Reverse API: network reply error message enhancement. Added Q_OBJECT to test source and RTL-SDR input definitions to handle network reply correctly. 2018-12-18 06:14:18 +01:00
f4exb 2e58818776 Reverse API: right click dialog on start/stop button. Apply to RTL-SDR 2018-12-17 00:34:14 +01:00
f4exb 0de56a57b1 Reverse API: AM demod changes (5) 2018-12-16 21:22:46 +01:00
f4exb 448eaf0b0b Reverse API: AM demod changes (4) 2018-12-16 20:41:21 +01:00
f4exb 0c2dadfd69 Reverse API: AM demod changes (3) 2018-12-16 00:51:41 +01:00
f4exb 78488659a2 Channel Analyzer: removed duplicate code 2018-12-15 09:40:43 +01:00
f4exb cc41c77425 Channel Analyzer: revert f9062881 amd b297f082 breaking changes 2018-12-15 04:20:34 +01:00
f4exb 5b0a47c7c6 Reverse API: AM demod changes (2) 2018-12-15 03:42:58 +01:00
f4exb 0e75cc3709 Wndows builds: removed reference to now obsolete MinGW64 toolchain 2018-12-14 17:49:06 +01:00
f4exb 31123dacce Reverse API: AM demod changes (1) 2018-12-14 08:51:01 +01:00
f4exb e7f123390f Reverse API: BasicChannelSettingsDialog changes. Applied to AM demod GUI 2018-12-13 23:52:09 +01:00
f4exb f9062881fc Channel Analyzer: re-order ScopeVis set live rate and set live rate log2 decimation 2018-12-13 08:24:16 +01:00
f4exb b297f08275 Channel Analyzer: moved setLiveRate from setNewFinalRate to applySettings. Removed duplicate code 2018-12-12 08:33:04 +01:00
f4exb 8ebbfad6e5 Channel Analyzer: update rational downsampler sample rate attribute after boudaries re-calculation 2018-12-10 01:39:07 +01:00
f4exb 71cb65ca66 Channel Analyzer: do not forward messages to scope and spectrum vis combo since it is better done through the GUI 2018-12-10 00:52:05 +01:00
f4exb 720e68c094 Channel Analyzer: set rational downsampler range low limit to 0.501 times the input sample rate 2018-12-10 00:13:48 +01:00
f4exb c546e40191 Channel Analyzer: cleaned up old code 2018-12-09 11:24:38 +01:00
f4exb 4a69a7d39f Adaptation of cmake files to MSVC 2018-12-02 03:06:04 +01:00
f4exb 35e787f89b Windows MSVC2017: added DSD demodulator 2018-11-28 14:23:25 +01:00
f4exb 6f4969f417 Windows MSVC2017: include DATV Demod 2018-11-28 10:57:03 +01:00
f4exb 788ffa7c86 DATV demod: adapt to MSVC 2018-11-28 08:51:55 +01:00
f4exb bc7ad10f9d Use C++11 everywhere 2018-11-24 21:21:04 +01:00
f4exb fb92612f60 SoapySDR support: input: documentation 2018-11-22 00:41:28 +01:00
f4exb f5357e9917 PVS-Studio Analysis corrections for less serious issues 2018-11-18 11:06:41 +01:00
f4exb 059228e39f PVS-Studio Analysis corrections for serious issues 2018-11-18 09:39:22 +01:00
f4exb 98a193e591 BFM demod: fixed iterator in RDS parser 2018-11-13 16:01:33 +01:00
f4exb 1dc466e604 Windows: MSVC2017: adapt channel analyzer, AM and ATV demods plugin modules 2018-11-13 16:02:26 +01:00
f4exb dc2f25a00b Windows: MSVC2017: fixed more attribute unused cases (1) 2018-11-13 00:45:03 +01:00
f4exb 489a55a886 Scope: implemented trigger holdoff 2018-10-28 01:38:58 +02:00
f4exb 7ab87d594a Scope: update trace continuously for sweep times of one second or more 2018-10-27 07:32:14 +02:00
f4exb 02d0a46f31 Scope: removed breaking optimization thus fixing trigger. Should fix issue #233 2018-10-24 13:54:33 +02:00
f4exb eed10172f4 DSD demod: changed squelch 0.1 dB steps to 1 dB steps 2018-10-22 14:51:47 +02:00
f4exb fac0e652c4 Scope: updated documentation and fixed live rate setting when a decimation takes place 2018-10-20 10:41:49 +02:00
f4exb 966d957f89 Scope: fixed channel rate affecting scope rate in memory mode 2018-10-16 00:31:45 +02:00
f4exb be36430057 Channel Analyzer GUI: set sample rate via ScopeVis only 2018-10-16 00:08:33 +02:00
f4exb a7b954dbf8 NFM demod: fixed squelch display 2018-10-11 16:09:40 +02:00
f4exb ed1b706661 NFM demod: if squelch < -100 assume it is old format and divide by 10 2018-10-11 15:14:58 +02:00
f4exb b99afedc4a NFM demod: changed squelch 0.1 dB steps to 1 dB steps 2018-10-11 08:52:50 +02:00
f4exb 3f7cfb4dd8 WFM demod: fixed a missing mutex when re-configuring interpolator 2018-10-03 04:19:05 +02:00
f4exb 0d115ac342 DaemonSinkThread: removed useless member 2018-09-16 20:50:56 +02:00
f4exb 03441bdd6c Fixed Debian build on Bionic 2018-09-15 23:55:41 +00:00
f4exb f86afff3e8 Fixed Debian build 2018-09-16 01:30:43 +02:00
f4exb 94befa3e4e SDRDaemonSource: updated documentation 2018-09-15 20:24:49 +02:00
f4exb 39c553d763 DSD demod: fixed highpass filter display in the UI 2018-09-13 17:34:45 +02:00
f4exb 5e588ae09e SDRDaemon: cleanup on UDP Tx side to use sdrdaemondatablock.h definitions and Rx sample size 2018-09-13 00:31:49 +02:00
f4exb da963179fb UDP source and sink: align message names 2018-09-12 15:46:42 +02:00
f4exb 5771ef4783 Foolproof AudioFifo to try fix issue #210. Consequently removed useless timeout parameter on read and write methods 2018-09-12 15:30:53 +02:00
f4exb d084d6ff5b Cosmetic changes 2018-09-12 01:21:51 +02:00
f4exb bdb0e50c5f UDP source and sink: updated documentation 2018-09-12 00:49:55 +02:00
f4exb 7252e886de Renamed libdemodudpsrc folder to libudpsink 2018-09-12 00:43:15 +02:00
f4exb 3497cb92ee Renamed udpsrc folder to udpsink 2018-09-12 00:40:22 +02:00
f4exb fed7f72da1 REST API: Renamed UDPSrc to UDPSink 2018-09-12 00:36:30 +02:00
f4exb 06acb17e3a Renamed UDPSrc to UDPSink 2018-09-12 00:08:47 +02:00
f4exb f8e90827ac Renamed the UDPSink from sdrbase utils to UDPSinkUtil 2018-09-11 23:45:56 +02:00
f4exb f58cc3cc07 Renamed UDPSink to UDPSource 2018-09-11 22:36:16 +02:00
f4exb 87b9cff3c2 Rename libdaemonsrc to libdaemonsource 2018-09-11 17:05:16 +02:00
f4exb 6c77f2dfe5 Complete removal of SDRDaemon as a distinct binary 2018-09-11 13:41:09 +02:00
f4exb 1590db3ce2 SDRDaemon: anonymize protected block 2018-09-10 18:52:40 +02:00
f4exb 404c73fb80 SDRDaemon: make Rx side truly 24/16 bit compatible in all configurations 2018-09-10 02:52:36 +02:00
f4exb 0ae5955b76 SDRDaemon: fixed passing number of sample bits and sample bytes 2018-09-09 17:39:36 +02:00
f4exb 4c0c51b17d DaemonSink: Web API: implement title and color 2018-09-08 19:24:38 +02:00
f4exb b839b5d0c3 DaemonSink: finalization and cleanup 2018-09-06 05:39:28 +02:00
f4exb 3b09e0e5d7 DaemonSink: Web API implementation 2018-09-06 05:32:11 +02:00
f4exb 54c89f16aa DaemonSink (7) 2018-09-06 05:21:43 +02:00
f4exb 2be1281885 DaemonSink (6) 2018-09-06 04:36:56 +02:00
f4exb 354409a21a DaemonSink (5) 2018-09-06 04:23:27 +02:00
f4exb 29583e4d56 DaemonSink (4) 2018-09-05 18:25:58 +02:00
f4exb 4819ebf5f6 DaemonSink (3) 2018-09-05 13:28:38 +02:00
f4exb dcd8f94931 DaemonSink (2) 2018-09-05 08:44:14 +02:00
f4exb 96e7d49fbe DaemonSink (1) 2018-09-05 01:32:29 +02:00
f4exb ac4b016ee7 UDP source and sink: Web API: more informative report 2018-08-16 10:46:01 +02:00
f4exb 53d6161e89 UDP source Web API setting correction. UDP sink default port set to 9998 2018-08-15 22:47:55 +02:00
f4exb cee9a8b757 Renamed scopevisng.h to scopevis.h 2018-08-12 17:22:39 +02:00
f4exb aa6f2e9f2f Renamed ScopeVisNG to ScopeVis 2018-08-12 17:18:58 +02:00
f4exb 4a733cae51 Renamed spectrumscopengcombovis.* to spectrumscopecombovis.* 2018-08-12 17:13:06 +02:00
f4exb 37ab2e442e Renamed SpectrumScopeNGComboVis to SpectrumScopeComboVis 2018-08-12 17:10:31 +02:00
f4exb bda60dcd43 Renamed glscopeng.h to glscope.h 2018-08-12 17:06:55 +02:00
f4exb 0fcc694ca1 Renamed GLScopeNG to GLScope 2018-08-12 17:01:56 +02:00
f4exb 081b83128f Renamed glscopenggui.h to glscopegui.h 2018-08-12 16:56:03 +02:00
f4exb 2429f169bc Renamed GLScopeNGGUI to GLScopeGUI 2018-08-12 16:48:03 +02:00
f4exb 3463efc37e Bumped version 2018-08-12 15:52:05 +02:00
f4exb c9c19f412c Cleanup of old scope objects 2018-08-12 15:49:14 +02:00
f4exb 710502b3b2 WFM demod: corrected audio mute display 2018-08-07 19:28:50 +02:00
f4exb f368c62329 Fixed power display going to floor value in some demods 2018-08-05 12:44:06 +02:00
f4exb e783bcbbcb AM demod: bumped version 2018-08-02 23:28:10 +02:00
f4exb 8dd65e70f2 Web API: AM demod: added pll and syncAMOperation settings processing 2018-08-02 23:27:22 +02:00
Edouard GRIFFITHS ea83e43d09 New Windows build 2018-07-11 18:05:05 +02:00
f4exb b0eb2b6c1d Upgraded Channel analyzer version and updaed Debian changelog 2018-07-08 15:06:33 +02:00
f4exb d5f153ff75 Spectrum: added log/linear control 2018-07-04 23:11:28 +02:00
f4exb 5e1699c981 Bumped plugins version 2018-07-02 02:37:56 +02:00
f4exb 56e49baa3b Spectrum averaging: fixed average (1) 2018-07-01 02:16:59 +02:00
f4exb e9658e0346 Spectrum averaging (2): moving average 2018-06-30 22:30:42 +02:00
f4exb 95f39109f7 DSD demod: NXDN: updated documentation 2018-06-27 09:15:31 +02:00
Edouard Griffiths 7365b2dece Channel Analyzer: corrected suqared magnitude (power) display in dB 2018-06-26 20:03:56 +02:00
f4exb cc03445377 Scope: added amplification down to 100u full scale adnd finer trigger level down to 20u per step 2018-06-26 01:39:23 +02:00
f4exb fd915613e4 Scope: added magnitude squared (linear power) display overlays 2018-06-26 01:06:45 +02:00
f4exb 80b7829bf7 Scope and channel analyzer: new squared magnitude (linear power) projection mainly for radioastronomy 2018-06-26 00:43:19 +02:00
f4exb 5f120fb2cb DSD decoder: NXDN: support for EFR vocoder only with DV serial 2018-06-25 01:05:13 +02:00
f4exb deae4e6271 DSD NXDN support: more documentation 2018-06-22 17:41:15 +02:00
f4exb 15a51fb932 DSD NXDN support: updated documentation 2018-06-22 00:25:11 +02:00
f4exb 5777875618 PVS studio static analyzer fixes (2) 2018-06-22 00:15:23 +02:00
f4exb 777a1b0123 DSD demod: NXDN support documentation 2018-06-21 03:57:16 +02:00
f4exb e86120969a DSD decoder: NXDN implementation 2018-06-20 09:15:17 +02:00
f4exb d17775f5e1 DATV demod: include it only if FFmpeg > 3.1 is installed 2018-06-14 18:01:02 +02:00
f4exb 1eb8716a9f Fixes for Arch. Manual merge of pull request #183. DATV demod: fixed some of ffmpeg deprecation warnings 2018-06-13 00:20:51 +02:00
f4exb f76fafe826 Windows build fix 2018-06-10 12:17:26 +02:00
f4exb 5c2ce71639 DSD demod: fixed Debian build 2018-06-09 22:00:30 +02:00
f4exb a839695c3a AM, NFM, SSB and WFM demods: changed channel Id URI 2018-05-30 22:25:57 +02:00
f4exb 5f08261d37 LoRa demod: changed channel Id URI 2018-05-30 20:22:35 +02:00
f4exb 264c08b4c3 Renamed Channel Analyzer NG to Channel Analyzer (3) 2018-05-30 15:49:28 +02:00
f4exb e24e924d2b Renamed Channel Analyzer NG to Channel Analyzer (2) 2018-05-30 15:42:33 +02:00
f4exb f8c7763fc7 Renamed Channel Analyzer NG to Channel Analyzer (1) 2018-05-30 15:37:56 +02:00
f4exb 766e6aac1c Renamed Channel Analyzer NG to Channel Analyzer externally (no classes renaming) 2018-05-30 11:49:54 +02:00
f4exb 358f683e37 Server: added UDP source plugin 2018-05-29 11:24:20 +02:00
f4exb 1770192116 Server: added WFM demod plugin 2018-05-29 11:14:24 +02:00
f4exb c31a34ea41 BFM demod: code cosmetic changes 2018-05-29 10:59:30 +02:00
f4exb f30b3fab0f Server: added SSB demod plugin 2018-05-29 10:34:00 +02:00
f4exb c07bb0cd4d DSDdemod: debug message fix 2018-05-29 01:04:23 +02:00
f4exb 9b42dd1bfa Server: added DSD demod plugin 2018-05-29 00:33:27 +02:00
f4exb f11cda633d BFM demod: fixed squelch to be compatible with server mode 2018-05-29 00:14:45 +02:00
f4exb a8966789c0 Server: added BFM demod plugin 2018-05-28 11:52:24 +02:00
f4exb e27ca22c86 BFM demod: fixed report mapper 2018-05-28 11:43:24 +02:00
f4exb f05dd1fb8e DATV demod: added missing AVUTIL cmake variables 2018-05-28 09:05:52 +02:00
f4exb 37cf948963 UDP source: use c++11 flag 2018-05-28 08:53:08 +02:00
f4exb 723747e9dc SSB demod: yet again another clamping algorithm 2018-05-28 02:40:26 +02:00
f4exb c424ce10e4 SSB demod: implemeted WEB API 2018-05-26 15:53:22 +02:00
f4exb 3203a5511d Airspy input: implemeted WEB API 2018-05-25 19:28:57 +02:00
f4exb 3d8d9d34e0 UDP source: implemeted WEB API (2) 2018-05-25 18:44:24 +02:00
f4exb 54019d7a06 UDP source: implemeted WEB API (1) 2018-05-25 10:45:40 +02:00
f4exb 0c328546b0 WFM demod: implemeted WEB API 2018-05-25 10:08:47 +02:00
f4exb 111b3da5ce Removal of ChannelAnalyzer and TCPSrc plugins 2018-05-25 09:27:02 +02:00
f4exb c961fa368d Web API: fixes in BFM demod and HackRF input 2018-05-25 02:02:21 +02:00
f4exb 72e58534e3 Web API: BFM and DSD demod fixes. SSB demod: change clipping limiter constants 2018-05-24 18:23:08 +02:00
f4exb 128ac7ea1f DSD demod: implemeted WEB API 2018-05-24 12:17:29 +02:00
f4exb 8d7b581879 BFM demod: implemeted WEB API 2018-05-23 14:56:29 +02:00
f4exb ac041ca1ca Channel analyzer NG: updated documentation 2018-05-22 22:43:41 +02:00
f4exb e37a986b16 Channel analyzer NG: set RRC filter rollof factor range from 0.1 to 0.7. Updated documentation 2018-05-22 19:25:55 +02:00
f4exb 775a9775eb Channel analyzer NG: implemented optional RRC filter 2018-05-22 02:20:36 +02:00
f4exb 1dcb84ef8f Windows build fixes 2018-05-22 00:14:37 +02:00
f4exb 25e1439dcd Updated AM demod documentation 2018-05-21 17:39:07 +02:00
f4exb aaeec634fe DSD demod: updated status log text font 2018-05-21 08:13:35 +02:00
f4exb 3f373b9e91 Channel analyzer NG: updated documentation + fixes 2018-05-21 01:40:21 +02:00
f4exb f2f34ad9a9 Channel analyzer NG: autocorrelation corrections (2): corrected FFT aliasing 2018-05-20 20:23:41 +02:00
f4exb 8050266b28 Channel analyzer NG: autocorrelation corrections (1) 2018-05-20 19:41:36 +02:00
f4exb f600f78c0f Channel analyzer NG: implemented input source selection 2018-05-20 18:17:53 +02:00
f4exb cbda404926 Channel analyzer NG: use input selection 2018-05-20 11:54:05 +02:00
f4exb 48cac5385b PLL lock indication fixes 2018-05-20 03:50:22 +02:00
f4exb ed08480226 Channel analyzer NG: fixes 2018-05-20 02:24:38 +02:00
f4exb 524c7fbe7c Channel analyzer NG: use settings 2018-05-20 01:10:08 +02:00
f4exb d6f5de1ad7 Channel analyzer NG: created settings - correction 2018-05-19 05:10:17 +02:00
f4exb 3e5bcf7e00 Channel analyzer NG: created settings 2018-05-19 05:03:56 +02:00
f4exb 9f48378677 Channel analyzer NG: return of the lock status indicator and PLL frequency shift for PSK modulated signals 2018-05-18 19:03:54 +02:00
f4exb 6d95c04076 ChannelAnalyzerNG: fixed FLL and removed IIR and FIR kit that is now useless 2018-05-18 02:36:29 +02:00
f4exb 47f214fdf0 ChannelAnalyzerNG: implemented FLL 2018-05-17 09:09:57 +02:00
f4exb 660d8d22ae New PLL: heuristics to find locked state 2018-05-16 01:57:16 +02:00
f4exb bb2d530122 New PLL: phase lock status draft 2018-05-15 19:40:53 +02:00
f4exb 457b9aa2c8 ChannelAnalzyerNG: fixed bandwidth expand/shrink with baseband sample rate changes 2018-05-15 16:26:53 +02:00
f4exb 88d7a97b97 ChannelAnalyzerNG: fixed missing delta frequency dial update in de-serializaiton 2018-05-15 14:37:44 +02:00
f4exb 7f3bec34c9 ChannelAnalyzerNG: adjust PLL loop parameters 2018-05-15 09:17:54 +02:00
Edouard Griffiths 06c9f7f20d Channel Analyzer NG: implemented PLL with PSK order 2018-05-14 20:47:23 +02:00
f4exb b5d6d56cc9 AM demod: re-integrate processOneSample method in .cpp 2018-05-14 00:44:43 +02:00
f4exb 85d4d8029c AM demod: use MagAGC for synchronous AM 2018-05-14 00:34:37 +02:00
f4exb 21840c5dd3 AM demod: synchronous AM: implemented sidebands selection 2018-05-13 22:30:50 +02:00
f4exb e9f64a05f2 AM demod: basic synchronous AM detection option 2018-05-13 17:27:24 +02:00
f4exb 3ae7cda9be ChanelAnalyzerNG: added PLL option 2018-05-12 06:01:54 +02:00
beta-tester 8dca2d7b28 uniformed date format in Broadcast FM Demod 2018-05-11 11:35:10 +02:00
beta-tester 1c952d3b0e force 24h time format
changed hh:mm to HH:mm
changed dd.MM.yyyy to yyyy-MM-dd to uniform all date format
2018-05-11 11:00:08 +02:00
f4exb 7bf777e498 Get rid of ugly native dialogs on file chooser dialogs 2018-05-11 00:00:15 +02:00
f4exb c3242d618f Benchmarking: added inf/sup decimators test 2018-05-09 21:50:41 +02:00
f4exb 1c354dba4d NFM demod: fixed squelch indicator 2018-05-09 19:38:26 +02:00
f4exb 97677075b1 AM demod: fixed delayed squelch 2018-05-06 22:56:24 +02:00
f4exb b9a19577c7 SSB demod: squelch: change ramp up/down constant to half of the averaging time 2018-05-06 14:50:13 +02:00
f4exb 56c0aaedcd Mag AGC: corrected step calculation. Added method to combine step up and down smoothing 2018-05-06 02:39:39 +02:00
f4exb c43ecc8afe Channel Rx plugins: use liberation font 2018-05-05 18:12:05 +02:00
f4exb bec196953e Corrected default font size 2018-05-05 15:21:49 +02:00
f4exb 5ce49a387d Changed font for upward compatibiilty (test) 2018-05-05 15:10:19 +02:00
f4exb 1db2da3b60 NFM demod: fixed squelch 2018-05-02 01:22:34 +02:00
f4exb 34ff36926e SSB demod: fixed span slider aspect 2018-04-27 06:59:36 +02:00
f4exb 45aa323cf6 SSB demod: make the filter sliders less bulky with only one scale on the high cutoff 2018-04-27 06:41:48 +02:00
f4exb 2efa7ab594 DSD demod: allow use of audio rates that are integer multiples of 8k other than 48k (x2,3,4,5) 2018-04-23 01:04:47 +02:00
f4exb 486468afe0 Updated Debian changelog and DSD demod doc 2018-04-22 18:49:58 +02:00
f4exb 06cd90e354 AM demod: use buffered delay squelch 2018-04-22 10:23:11 +02:00
f4exb 7e6267f41c SSB demod: use delay line to squeeze squelch tail 2018-04-22 09:37:34 +02:00
f4exb 4670cbaa33 Merge branch 'master' into dev 2018-04-22 07:48:13 +02:00
f4exb e206d65283
Merge pull request #162 from jigpu/spelling-fixes
Spelling fixes
2018-04-22 07:45:20 +02:00
f4exb a099b05fb6
Merge pull request #164 from jigpu/memleak-fixes
Memleak fixes
2018-04-22 07:40:58 +02:00
Jason Gerecke 1eaae0de30 BFM demod: Delete the SpectrumVis when destroying BFMDemodGUI
Take care of a pair of memory leaks that occur when the BFM demod GUI
is closed.

==786== 19,952 (24 direct, 19,928 indirect) bytes in 1 blocks are definitely lost in loss record 7,065 of 7,081
==786==    at 0x4C2D54F: operator new(unsigned long) (vg_replace_malloc.c:334)
==786==    by 0x54C82ED: allocate (new_allocator.h:111)
==786==    by 0x54C82ED: allocate (alloc_traits.h:436)
==786==    by 0x54C82ED: _M_get_node (stl_list.h:383)
==786==    by 0x54C82ED: _M_create_node<FFTWEngine::Plan* const&> (stl_list.h:572)
==786==    by 0x54C82ED: _M_insert<FFTWEngine::Plan* const&> (stl_list.h:1801)
==786==    by 0x54C82ED: push_back (stl_list.h:1118)
==786==    by 0x54C82ED: FFTWEngine::configure(int, bool) (fftwengine.cpp:35)
==786==    by 0x4F4590B: SpectrumVis::handleConfigure(int, int, FFTWindow::Function) (spectrumvis.cpp:206)
==786==    by 0x4F459EE: SpectrumVis::handleMessage(Message const&) (spectrumvis.cpp:170)
==786==    by 0x548346C: BasebandSampleSink::handleInputMessages() (basebandsamplesink.cpp:21)
==786==    by 0x69E1615: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQt5Core.so.5.10.1)
==786==    by 0x5497D4B: MessageQueue::push(Message*, bool) (messagequeue.cpp:52)
==786==    by 0x33F9D61A: BFMDemodGUI::BFMDemodGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) (bfmdemodgui.cpp:352)
==786==    by 0x33F9D985: BFMDemodGUI::create(PluginAPI*, DeviceUISet*, BasebandSampleSink*) (bfmdemodgui.cpp:50)
==786==    by 0x33FB035D: non-virtual thunk to BFMPlugin::createRxChannelGUI(DeviceUISet*, BasebandSampleSink*) (bfmplugin.cpp:57)
==786==    by 0x4F47F19: DeviceUISet::loadRxChannelSettings(Preset const*, PluginAPI*) (deviceuiset.cpp:201)
==786==    by 0x4EA51EA: MainWindow::loadPresetSettings(Preset const*, int) (mainwindow.cpp:575)
==786==    by 0x4EAC81B: MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) (mainwindow.cpp:176)
==786==    by 0x10A49B: runQtApplication(int, char**, qtwebapp::LoggerWithFile*) (main.cpp:120)
==786==    by 0x109B38: main (main.cpp:131)
==786==
==786== 54,096 (112 direct, 53,984 indirect) bytes in 1 blocks are definitely lost in loss record 7,075 of 7,081
==786==    at 0x4C2D54F: operator new(unsigned long) (vg_replace_malloc.c:334)
==786==    by 0x69E9162: QObject::QObject(QObject*) (in /usr/lib/libQt5Core.so.5.10.1)
==786==    by 0x5497BEE: MessageQueue::MessageQueue(QObject*) (messagequeue.cpp:26)
==786==    by 0x54834FF: BasebandSampleSink::BasebandSampleSink() (basebandsamplesink.cpp:6)
==786==    by 0x4F45A29: SpectrumVis::SpectrumVis(float, GLSpectrum*) (spectrumvis.cpp:26)
==786==    by 0x33F9D53C: BFMDemodGUI::BFMDemodGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) (bfmdemodgui.cpp:342)
==786==    by 0x33F9D985: BFMDemodGUI::create(PluginAPI*, DeviceUISet*, BasebandSampleSink*) (bfmdemodgui.cpp:50)
==786==    by 0x33FB035D: non-virtual thunk to BFMPlugin::createRxChannelGUI(DeviceUISet*, BasebandSampleSink*) (bfmplugin.cpp:57)
==786==    by 0x4F47F19: DeviceUISet::loadRxChannelSettings(Preset const*, PluginAPI*) (deviceuiset.cpp:201)
==786==    by 0x4EA51EA: MainWindow::loadPresetSettings(Preset const*, int) (mainwindow.cpp:575)
==786==    by 0x4EAC81B: MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) (mainwindow.cpp:176)
==786==    by 0x10A49B: runQtApplication(int, char**, qtwebapp::LoggerWithFile*) (main.cpp:120)
==786==    by 0x109B38: main (main.cpp:131)
2018-04-21 18:56:21 -07:00
Jason Gerecke 141997475c BFM demod: RDS demod: Initialize RDSDemod array elements
The m_parms.tot_errs array is not initialized prior to its first use
in the RDSDemod::biphase function. ASAN does not pick up on this
directly, but instead reports it as follows (note that ASAN fills
memory with 0xBE and -1094795586 is 0xBEBEBEBE):

    ./plugins/channelrx/demodbfm/rdsdemod.cpp:159:95: runtime error: signed
    integer overflow: -1094795586 + -1094795586 cannot be represented in type
    'int'

The m_parms.subcarr_bb array does not appear to be read prior to
initialization, but we initialize it to zero anyway for the sake
of good hygiene.
2018-04-21 18:54:19 -07:00