A `data` chunk of size 0 counted as empty only when the RIFF size matched
the file. A writer that appends a `LIST` chunk after writing the RIFF size
leaves it stale, so the reader took the file for an unfinished recording
and decoded the `LIST` chunk's bytes as samples (8 frames of noise instead
of none).
A size-0 `data` chunk is now also empty when whole chunks follow it and the
first one has an id that follows audio (LIST, bext, cue, JUNK, ...). A
recording that was never finalised (PCM after the header) and bytes that
only start like a chunk still decode as audio.
A menu row's highlight comes from the LEAD flag rule, which resolves without easing, and
the popup makes the row under the pointer active before its rows run. The new test pins
both: the frame that moves the pointer onto the next row paints that row's full highlight
and none on the row it left, with no time passing. It fails if the active row follows the
pointer a frame late, or if the highlight moves onto the eased hover mix (80 ms).
Fixture::frame_shapes_with(events) returns what the frame that took the input painted.
Part of photocraft#15477.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`(0..4).map(|_| frame()).next_back()` runs the frame once, not four times: a Map over a range steps from the back
without calling the closure for the other items. The trial runs three frames and checks the fourth.
Drops the three cognitive_complexity expects the split made unfulfilled, the borrows of cx.core that is already a reference, and moves BodyOwner's doc line back onto it.
A component's children run inside its pipeline (the measuring run of step 5, the overlay, paint, the body and
paint_over), so every frame on that path stays on the stack for each nesting level. The level kept all of steps 1 to
17's working state there: CxCore moved by value through the dyn call into Cx, the component taken out of Typed into
with_cx, and run_steps, run_in_host and the body step each one function with every step's locals.
- Cx holds `&mut CxCore`; the run builds the core once, in run_passes, out of the frame step 5's measuring runs
recurse from. finish keeps its signature.
- The show's caller makes the component's slot; Typed borrows it and finish takes it out after the children ran.
- run_steps, run_in_host, the body step and the measuring run are drivers over per-step functions; what crosses a
child's run is a small state struct (Begun, HostStep, BodyPlan, MeasurePlan).
- Layouts, label columns and region contexts build their Ui, UiBuilder and BodyCx in helpers, and each body layout
and label-column arm runs in its own function.
- Helpers that opt-level 2 merges back into a recursive frame are inline(never).
A body sixteen containers deep shows on a 512 KiB stack (body::nesting).