coreaudio: retry AudioQueueStart before falling back to silence #288
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!288
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-288"
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?
@AnastasisKon on GitHub · 2026-11-27 08:56 UTC · original
AnastasisKon:vibe/coreaudio-start-retry-9e73da→main· +23 −4 · 2 files · 1 commits · merged 2026-11-27 10:46 UTCA mid-run XAudio2 engine re-creation (the first cutscene, #140) failed AudioQueueStart once with OSStatus 'what' (0x77686174) while the output device was changing, and the output fell back to the silent clock for the rest of the run: the tester's cutscene audio stopped for good. Three tries, 250 ms apart, before the silent fallback; the log names each failed try.
What this changes
How it was tested
cargo test --target x86_64-apple-darwin -p victory-hle -p victory-loader -p victorycargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warningsChecklist
VICTORY_*variable and documented@LakshanSivakumar on GitHub · 2026-11-27 10:46 UTC · original
Thank you. Merged.
I ran these five together on my Mac before merging (#101, #267, #288, #289, #291 on main, M5 Pro 48 GB, Series S, warm cache, three runs): two runs stayed in the world until the time limit (139 s and 202 s there, about 2 fps, no failed command buffer, no fault); one ended at the start of the world with a title fault I had not seen before (first chance at image+0x4fafef8, a read of 0x30000065c), with no GPU error before it. I could not tie that one to any of the five. If you see it, please say so.