feat(libSceAjm.native): implement sceAjmBatchJobGetInfo #909
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/909"
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 adriadam10 on 2026-10-06T16:02:22Z.
What
Implements
sceAjmBatchJobGetInfo(libSceAjm.native). Onmainit was a stub that throws.SIDEBAND_FORMATflag and a result + format sideband. The run path writes that sideband the same waysceAjmBatchJobGetGaplessDecodeandsceAjmBatchJobGetCodecInfoalready do. The behaviour (result followed by the instance'sAjmSidebandFormat) follows KytyPS5AjmBatchJobGetInfo. The format layout (channels, channel mask, sample rate, sample encoding, bitrate, reserved) is the same in shadPS4AjmSidebandFormat.mainalready writes forSIDEBAND_FORMAT. shadPS4 derives it from the superframe size. This PR doesn't change it, and the test doesn't pin it.GetCodecInfo. KytyPS5 returns result 0 and the uninitialized decoder's format.Tested
Linux,
guest_ajm_tests(newTestGetInfo, registered in ctest), with three cases:Initialize: result 1, format untouched.Initializewith the stereo 48 kHz config: 2 channels, mask 0x3, 48000 Hz, S16, reserved 0.The test fails on
main, where the stub throws. It also fails if any of these is mutated: the flag, the sideband size, or the result pointer. Full Release build (GCC) passes, andctest -R 'guest_|ajm'passes 119/119.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T16:02:52Z.
Progress report (
5895ea7→05de11a)📈 System libraries: 87.03% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceAjmBatchJobGetInfo