Robin Getz
8f87a67ed6
ft8: Prevent unsafe copy construction and assignment of FFTEngine
...
Explicitly delete the copy constructor and copy assignment operator for
FFTEngine, which owns dynamically allocated FFTBuffers.
Allowing the implicitly generated copy operations would result in shallow
copies of m_fftBuffers, leaving multiple FFTEngine instances referring to
the same resource and potentially causing invalid ownership or double
deletion.
Since FFTEngine is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
1 month ago
Edouard Griffiths
6c40203152
Merge pull request #2989 from srcejon/bfmmod
...
Add Broadcast FM modulator
2 months ago
Jon Beniston
54fea091ba
Remove redundant check.
2 months ago
Jon Beniston
2a5d385285
Fix reference.
2 months ago
Jon Beniston
d75c389ed1
Add numbered boxes to images.
...
Add redundany check for buffer overflow.
2 months ago
Jon Beniston
46952badad
BFMDemod: Share RDS PTY table with BFM mod.
2 months ago
Jon Beniston
3f22f01330
AM, M17, NFM, SSB, WFM: Fix audio feedback when sample is different from output. #710
2 months ago
Jon Beniston
b14bb9f532
Add docs
2 months ago
Jon Beniston
c1dec0489b
Add BFM Modulator. #2201
2 months ago
Edouard Griffiths
021c5429a8
Merge pull request #2986 from delfer/packet-g3ruh9600-rx
...
Packet Demod: add native G3RUH 9600 receive mode
2 months ago
Edouard Griffiths
e4255e3fd2
Merge pull request #2984 from rgetz/rgetz-fix-uninitMemberVar-remaining
...
Fix remaining uninitialized member variables and unset variable warnings
2 months ago
Delfer
f05acda12a
Packet Demod: make regression tests portable across Qt versions
2 months ago
Codex
d0ba47b97e
Packet Demod: add native G3RUH 9600 receive mode
2 months ago
Codex
b5cf557d91
Packet Demod: bound HDLC state outside frames
2 months ago
Edouard Griffiths
7485a1e7f8
Merge pull request #2983 from srcejon/usrp_mimo
...
Add USRP MIMO device + fixes for other devices with buddies + Windows library updates
2 months ago
Edouard Griffiths
95c0622a69
Merge pull request #2980 from rgetz/rgetz-be-more-specific-with-codacy-ai-reviewer
...
Try #2 in codacy ai reviewer
2 months ago
Robin Getz
1a2cfc1677
glspectrumview: Initialize device pixel ratio
...
Initialize devicePixelRatio to avoid a GCC 14.2 -Wmaybe-uninitialized
warning when the window handle is unavailable.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
c6b868f635
radiosonde: Initialize chart axis pointers
...
Initialize optional Y-axis pointers to nullptr to fix GCC 14.2
-Wmaybe-uninitialized warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
6380a51161
mcpserver: Fix GCC warnings in MCP tools
...
Avoid binding range-loop variables to temporary QString values and
compare channel type strings by value instead of pointer address.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
eafba57ecf
mcpserver: Fix MCPAudioCapture initializer order
...
Reorder member initializers to match their declaration order and avoid
the GCC -Wreorder warning.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
8a7d5973ea
moddatv: Avoid using unset FEC rate variables
...
Handle unsupported DVB-S2 code rates in get_dvbs2_rate() instead of
using uninitialized FEC numerator and denominator values. Resolves
a compiler warning.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
4ac89f7ed2
moddatv: Fix GCC uninitialized variable warnings
...
Handle unsupported modulation and DVB-S code rates in
getDVBSDataBitrate() and stop checkBitrates() when no valid bitrate
can be calculated.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
a209f80755
radioastronomy: Fix GCC uninitialized variable warnings
...
Initialize the next row index and FFT measurement value to avoid
potentially using uninitialized variables reported by GCC 14.2.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
7d239a5751
psk31demodulator: Fix constructor initializer order
...
Reorder AFC and magnitude-squared member initializers to match their
declaration order and avoid -Wreorder warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
8a1e74c934
pagerdemodflex: Initialize demodulator state
...
Initialize candidate, flywheel, frame, and symbol recovery state.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
6c8ad0c658
wdsp/wcpAGC: Initialize AGC state
...
Initialize gain, ring buffers, and output samples in WCPAGC.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
8c0e79458c
wdsp/unit: Initialize unit state
...
Initialize state in the Unit constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
667be5a172
wdsp/speak: Initialize channel bandwidth
...
Initialize cbw in the SPEAK constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
55ff6ddcdc
wdsp/snotch: Initialize notch filter state
...
Initialize x0 in the SNOTCH constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
d31dd7d035
wdsp/siphon: Initialize output size
...
Initialize outsize in the SIPHON constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
68dd4e2f54
wdsp/osctrl: Initialize output envelope
...
Initialize env_out in the OSCTRL constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
dd8ef39b5e
wdsp/nob: Initialize NOB state
...
Initialize NOB state members in the constructor initializer list.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
3cd633736f
wdsp/nbp: Initialize notch database state
...
Initialize tunefreq, shift, and hadnotch in the NBP constructors.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
f590f25bef
wdsp/fmsq: Initialize FMSQ sample count
...
Initialize count in the FMSQ constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
8b735e7fe3
wdsp/fcurve: Initialize filter curve buffer
...
Value-initialize the allocated filter curve buffer.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
540222457d
wdsp/emnr: Initialize EMNR state
...
Initialize gain, NPE, AE, and file state in the EMNR constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
9a5234b737
wdsp/cfcomp: Initialize CFCOMP mask state
...
Initialize mask_ready in the CFCOMP constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
d7cf53a6a8
wdsp: Initialize AMSQ sample count
...
Initialize count in the AMSQ constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
146d038da8
wdsp: Initialize AMD state
...
Initialize AMD state and audio variables to avoid uninitialized data.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
349f23635e
wdsp: Initialize TXA state
...
Initialize meter, slew, and bandpass pointers in the TXA constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
77969258ef
sdrgui: Initialize configuration FSM
...
Initialize m_loadConfigurationFSM in the InitFSM constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
3d611dd13e
sdrgui: Initialize workspace selection row
...
Initialize m_selectedRow in WorkspaceSelectionDialog.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
a7e83853de
sdrgui: Initialize TV screen shader state
...
Initialize shader locations and attribute indices in TVScreenAnalog.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
1c0f48cfed
sdrgui: Initialize spectrum measurement state
...
Initialize measurement mask and menu pointers in SpectrumMeasurements.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
0a7122cbbe
sdrgui: Initialize splash screen alignment
...
Initialize alignement in the SDRangelSplash constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
c3a5d80999
sdrgui: Initialize scale engine tick
...
Value-initialize the Tick variable in ScaleEngine::reCalcStd.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
f5ff635a64
sdrgui: Initialize logarithmic slider parameters
...
Initialize m_start, m_stop, and m_steps in LogSlider.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
4230eb0a3b
sdrgui: Initialize scope marker value
...
Initialize m_value in the ScopeMarker copy constructor.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
d6108a9584
sdrgui: Initialize FM preemphasis settings
...
Initialize m_tau and m_highFreq in FMPreemphasisDialog.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
45bba662d6
sdrgui: Initialize FFT noise reduction settings
...
Initialize FFTNRDialog members in the constructor initializer list.
Found by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago