docs: flat UDP spec and plan amendment -- vector rows as channels or as a waveform

This commit is contained in:
Martino Ferrari committed 2026-11-02 01:12:58 +01:00
1 parent 78a29fbc39
commit a523bc2bd9
2 files changed
+35

No files matched your search

@@ -1619,6 +1619,16 @@ git commit -m "flatudp: the source, kind, mock sender and stream probes"
---
### Task 3: The row-editor form, its probe lines, README and architecture
> **Amendment (read first).** After Task 2 the vector semantics changed: see the "Amendment 2026-11-02" section
> of `docs/superpowers/specs/2026-11-02-flat-udp-source-design.md`. `flatudp::Row` now has a `bool wave`
> (default false) and the codec/source already implement `channels` vs `waveform` rows and the channel cap. This
> task's form must therefore: add a "Vector as" `GtkDropDown` (`Channels` / `Waveform`, widget name `flatudp-vector`)
> to each row, shown only while that row's count is above 1 (reset to Channels when the count returns to 1); write
> it into `Row::wave`; show the channel total in the subtitle (the first `problem()` text still wins); and extend the
> form probe with a waveform case (a waveform row beside a scalar row is invalid; two waveform rows of the same count
> are valid). Where the code below predates this, follow the amendment. README and the docs must describe both
> modes, the `w` suffix, the mixed-list rule and the 256 channel cap.
**Files:**
- Modify (full replacement): `src/source/flatudp/flatudp_kind.cpp`
- Modify: `src/ui_probe.cpp` (a form check, called from `flatudp_probe`)