Skip to content

Commit 1df2ec1

Browse files
committed
Record item 28's CoreAudio hardware pass
Two unplug/replug cycles in one stream on a USB DAC, through item 27's harness. The sink reopened 260 ms after the first replug and 180 ms after the second -- the second is the one that never recovered before the refill, and it is the faster of the two because it starts on an unspent in-place reopen. Both gaps were reported rather than swallowed, and the run settled on the same fixed ~90 ms tail a clean run shows. ALSA still owes the same two cycles.
1 parent c4c5f82 commit 1df2ec1

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

docs/ROADMAP.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2639,7 +2639,7 @@ The harness it was run with is not in the tree: it lives with the pass's own not
26392639
sink suite that exercises `AudioSink` implementations themselves is item 12's job, not a
26402640
throwaway driver's.
26412641

2642-
### 28. A second device outage in one stream never recovers — *shipped (hardware pass still owed)*
2642+
### 28. A second device outage in one stream never recovers — *shipped (ALSA hardware pass still owed)*
26432643

26442644
Found by item 27's CoreAudio hardware pass — two unplugs in one run, the first back in 190 ms,
26452645
the second never — but it belongs to item 14 and sits in the shared `SinkRecovery`, so every
@@ -2677,7 +2677,13 @@ recoveries per stream would turn a flaky cable back into the silence this item r
26772677

26782678
The regression tests (`ASecondOutageInTheSameStreamRecovers`,
26792679
`EveryOutageAfterARecoveryStillGivesUp`, `TheDiscardedGapSurvivesTheRefillIntoTheNextOutage`)
2680-
fail against the old helper and pass against the new one. **Still owed:** two unplug/replug
2681-
cycles in one stream on real hardware — ALSA first, since it has the most users, then CoreAudio
2682-
with item 27's harness.
2680+
fail against the old helper and pass against the new one.
2681+
2682+
**CoreAudio is validated on hardware.** Two unplug/replug cycles in one stream on a USB DAC,
2683+
through item 27's harness: the sink reopened 260 ms after the first replug and 180 ms after the
2684+
second — the second being the one that recovered never before this fix, and faster than the
2685+
first because the refill hands it an unspent in-place reopen. Both outage gaps were reported
2686+
rather than swallowed (drift −5554 ms mid-outage, −96 ms five seconds after the replug), and the
2687+
run settled on the same fixed ~90 ms end-of-stream tail a clean run shows. **Still owed:** the
2688+
same two cycles on ALSA, which has the most users.
26832689

0 commit comments

Comments
 (0)