[startup][audio] Active playback endpoint passes preflight, but SpatialAudio stream activation fails with 0x80040154 and loading stalls #256
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An active default playback endpoint can exist while the Windows SpatialAudio runtime cannot create the stream required by the title. Darner's current audio preflight checks GetDefaultAudioEndpoint only, so this host passed the check and then appeared to load indefinitely or hit the title's 96 KiB command-buffer assertion.
Environment
Host-side trigger and independent reproduction
The affected host was missing Windows spatial-audio files/registrations. Using a standalone probe in the same interactive user/session:
This HRESULT was captured by the standalone probe using the game-equivalent request; it was not instrumented inside the running title.
Stream request: format index 0 (mono 48 kHz, 32-bit float), static object mask 0x6, min/max dynamic objects 0/0, audio category 6, auto-reset event, notify object NULL. GetMaxDynamicObjectCount=0 is compatible with this static-only request and was not treated as the failure cause.
Observed effect in the title
Before/after verification
Restoring matching Microsoft spatial-audio files and the component manifest's missing registrations changed the identical standalone stream probe from 0x80040154 to S_OK. Start, three 480-frame processing periods, Stop and Reset succeeded. In a fresh game run, audio initialization succeeded, the stream pointer was non-null, the lock was free, consumer/game frames advanced, and the user confirmed entry past the previous loading screen.
Suggested improvement
Extend startup validation or initialization-error reporting to cover SpatialAudio stream creation, not only default endpoint presence. When it fails, show/log the HRESULT and actionable Windows audio-component guidance instead of leaving the user at a loading spinner. A silent-output fallback could be considered separately.
The host component corruption is the trigger; the actionable Darner issue is detection and failure reporting. This report does not request that Darner automatically install or register Windows system files.
Related
No game assets, DLLs, connection credentials or raw private logs are included.
I’m working on the Windows startup diagnostic for this case. I’ll check whether the default endpoint can create the static stereo spatial stream and report the failure stage and HRESULT alongside the existing audio notice. I’ll test the healthy path on Windows and the reported error path with a controlled fixture.