Repository navigation
Dev Build c212394
Pre-releaseThis is an automated development build from commit c212394.
Changes in this build:
Pin that the absorbed startup baseline is not misalignment (#88)
Review point, and a correction to the previous commit's framing: a live session
logging "Captured startup (raw) sync-error baseline: -95.5ms" is not evidence
the player ran 95.5ms behind. The baseline is a property of the error tracker,
not a measurement of where audio landed, and inferring one from the other is the
same self-report trap this file already guards against twice.
Measured rather than argued. The harness now takes an ILogger, so a test can see
which start path the buffer took instead of assuming, and a startLateMicros knob
forces the scheduled start into the past so EnsurePlaybackStarted takes the
SkipStaleAudio branch:
lateness outputLatency alignment absorbed baseline
0ms 100ms 0.0ms -99.2ms
200ms 100ms 0.0ms -99.2ms
500ms 100ms 0.0ms -99.2ms
200ms 0ms -100.0ms -99.2ms
All four discard stale audio and re-derive the anchor, and all four absorb the
same ~99ms. Alignment does not follow the baseline at all; it follows only
whether the output latency was declared. So ~100ms absorbed sits happily
alongside a player that is exactly on schedule, and the stale-start path neither
loses nor double-counts the output-latency pre-roll however late it starts -
worth pinning, because the re-derivation runs ScheduledLocalTimeFor a second
time against a head cursor that has already moved.
Two tests. LateStart_WithDeclaredOutputLatency_StaysOnSchedule asserts the stale
branch was actually taken before asserting alignment, so it cannot quietly stop
testing what it claims. AbsorbedStartupBaseline_IsNotMisalignment holds a large
absorbed baseline and an on-schedule player in the same assertion, which is the
statement that is easy to get backwards from reading logs.
📦 Downloads:
Sendspin.Windows-...-Setup.exe- Requires .NET 10 Desktop RuntimeSendspin.Windows-...-Setup-SelfContained.exe- Standalone (no .NET required)- Portable ZIPs also available
🔐 All executables are code-signed.