Commit Graph
20 Commits
Author SHA1 Message Date
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>
2026-10-03 17:35:02 -04:00
Edouard Griffiths 67a73916ae Merge pull request #2934 from srcejon/mcp
Add MCP Server for Claude & ChatGPT
2026-09-26 10:24:57 +02:00
Robin Getz 9bed766e40 datvmodsource: Handle unsupported DATV bitrate settings
The modulation and FEC switches in getDVBSDataBitrate() did not define values
for unsupported settings, allowing execution to continue with uninitialized
bitrate calculation inputs. Return an invalid bitrate for unsupported settings
and check the result before using it.

Avoid passing an invalid bitrate to still-image TS generation, and keep
modulateSample() running so the existing null transport-stream packet handling
can continue to produce samples when generation cannot proceed.

Coverity identified these paths as uninitialized scalar variables
(UNINIT).
2026-09-13 20:23:10 -04:00
Robin Getz 369cfee517 datvmodsource: Initialize DATVModSource buffers
Initialize the MPEG transport stream, IQ symbol, and UDP buffers to zero to
eliminate cppcheck UNINIT_CTOR warnings. This ensures the buffers have a
defined initial state before they are accessed during DATV modulation and
avoids undefined behavior from reading uninitialized data.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-09-13 20:22:48 -04:00
Robin Getz aab8288afc datvmodsource: Initialize members values
Initialize previously uninitialized DATVModSource members to safe default
values to eliminate cppcheck UNINIT_CTOR warnings and prevent undefined
behavior from reading uninitialized state.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-09-13 20:22:46 -04:00
Jon BenistonandClaude Opus 5 109a08a50f Apply only the settings keys given in the remaining keyed applySettings
The same fix as da31464dd for the plugins whose applySettings takes the key list first, which
that sweep missed: 35 channels, modulators, sinks, sources and one MIMO device copied the
whole settings struct on every message, so a GUI message with no keys arriving just after an
API patch put the old values back. The DSD demodulator lost the deviation set at creation
this way.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-13 19:54:00 +01:00
f4exb fcbaf95403 Fixed settings keys 2026-02-12 23:23:27 +01:00
f4exb 47fba8c980 Apply atomic settings to channel Tx plugins. Fixes #1329 2026-02-01 12:26:46 +01:00
Jon Beniston feeb757f21 Add Inmarsat C demodulator. 2026-01-06 12:07:52 +00:00
f4exb 7cf1a28b48 DATV modulator: implement still image source for the TS. Fixes #2454 2026-01-01 11:13:03 +01:00
Roger van Bommel 3e84c65cb8 Correct null PID behaviour for DVB-S modulator 2025-12-29 20:21:23 +01:00
Daniele Forsi 8c3f7e3775 Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
f4exb 9f42957585 DATV modulator: API enhancements and GUI cosmetic fixes 2021-10-20 23:01:44 +02:00
Jon Beniston 2f5d3dd2f7 DATV Mod: Add UDP buffer utiliziation in GUI on Windows 2021-07-28 16:10:04 +01:00
Jon Beniston 7e0903a722 Avoid divide by 0 if symbol rate is 0. 2021-04-17 12:55:30 +01:00
f4exb cb657c72a1 DATV modulator: fixed file source looping 2021-04-01 08:06:41 +02:00
Jon Beniston 0e2304de1d Fix gcc compiler warnings 2021-03-31 17:01:47 +01:00
Jon Beniston 0857f1348a Add DVB-S2 modulator 2021-03-31 16:41:42 +01:00
Jon Beniston 24d8da247c Fix gcc warnings 2021-03-18 20:33:52 +00:00
Jon Beniston 37a19dee04 Add DATV Modulator 2021-03-18 17:17:58 +00:00