fix(libSceAvPlayer): report the PS5 audio stream type for players made by sceAvPlayerInit #13987
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13987"
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?
Imported from boykopovar/AnyPS5. Originally posted by alfalfa-star on 2026-10-31T14:30:17Z.
What
sceAvPlayerInitplayers reported audio streams as type 0; onlysceAvPlayerInitExplayers with the 0x230-byte PS5 layout reported type 2. The stream type is a property of the library, not of the init entry point, so every player now reports audio as type 2 (GetStreamInfo,GetStreamInfoExand auto-start selection).Crash Bandicoot 4 (PPSA02433) plays its logo movies (Activision, Toys for Bob, Unreal) with
sceAvPlayerInit. Its READY callback (app.elf 0x1509d50) enables a stream of type 2 as audio and type 1 as video and ignores anything else:So the logos' AAC track was never enabled and they played silent, while the opening cutscene (opened with
sceAvPlayerInitEx, size 0x230) had sound. API trace before the change:After:
EnableStream ... 1 -> 0follows and the game gets 48 kHz stereo audio.Tested
guest_avplayer,guest_avplayer_callback_close,guest_avplayer_paused_first_videopass; the three audio type checks ofsceAvPlayerInitplayers now expect 2.tools/check_conventions.py --base upstream/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T14:36:55Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
The PR reports a wrong audio result in PPSA02433 but omits its required title-unblock tracking.
What I ran
I inspected the focused diff and current PR metadata at head
290345261e615c828aac59e5748d4425b8ff9759, based on73f4f7e06e4f210a8c6570e335fd654dc0a86134; no merged preview was used. I queried GitHub Actions and confirmed the matching bring-up discussion exists. I did not run a local build or tests.Commands:
Results
Unedited hosted check output
Findings
Blocking
The PR says PPSA02433’s logo movies were silent because the title ignored audio streams reported as type 0, and that the change restores their sound. For a title-specific wrong result, repository rules require the title ID and Game bring-up discussion on the checklist, the
unblocks titlelabel, and an up-to-date discussion entry (CONTRIBUTING.md at the reviewed base). The matching discussion is Crash Bandicoot 4: It’s About Time (PPSA02433), #9065. ReplaceUnblocks: none (PPSA02433 logo audio)withUnblocks: PPSA02433 #9065, add theunblocks titlelabel, and list this PR in that discussion.Non-blocking
None identified in this pass.
Not verified
I did not independently run the reported Linux title scene or test the behavior on a physical PS5. The Windows job remains pending; product CI jobs were skipped. The Linux observations and focused CTest results are author-reported.
To get this to a good state
Update the title-unblock checklist, label, and discussion entry. I will recheck the updated PR and relevant checks after the change.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T15:11:53Z.
Review: APPROVED
Re-checked — new head, looks good
At head
b81fe33ff6714eefeb2b6eb13c091a7380ee5e73against base73f4f7e06e4f210a8c6570e335fd654dc0a86134, the required title tracking is present and the new debt entry records both the title evidence and the remaining uncertainty about other layouts and SDK versions (debt entry). The Windows job passed; the PPSA02433 Linux playback and focused test results are author-reported. I did not build or test locally; Linux and specialized product CI jobs were skipped, and no physical-console measurement is claimed.