feat(libSceAjmi): export missing firmware audio batch interfaces #6299
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6299"
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 fogydes on 2026-10-15T10:05:25Z.
What
Replaces the
APS5_DUMMY_FUNplaceholder incore/libs/prx/libSceAjmi/Export.cppwith 15 verified PlayStation 5 firmware internal Audio Jack Management (AJM) batch processing and decoding interfaces, and documents technical debt indocs/dev/debt/libSceAjmi.md:sceAjmiBatchInitialize(XX3Kr-nBf7E)sceAjmiBatchJobClearContext(UXCcm+K48BY)sceAjmiBatchJobControl(5QWiwQn65H4)sceAjmiBatchJobDecode(oKhR9F8CnNo)sceAjmiBatchJobDecodeSingle(68qjHhmN3ew)sceAjmiBatchJobEncode(8nMrFIF9qVc)sceAjmiBatchJobGetCodecInfo(yZPDNv5SV-o)sceAjmiBatchJobGetGaplessDecode(kuOIl3PPiu4)sceAjmiBatchJobGetInfo(KKxuyAtYfTc)sceAjmiBatchJobInitialize(iZU2JKcq1YA)sceAjmiBatchJobRun(rTjFhtBvvHw)sceAjmiBatchJobRunSplit(JvDkpuV2ZIk)sceAjmiBatchJobSetGaplessDecode(z476OcEI2C0)sceAjmiBatchStart(u9Ty3Xpabgs)sceAjmiBatchWait(JJ9g04D344Q)All stubs throw
NotImplemented_nid_no_patch(__func__)so callers encounter explicit unimplemented exceptions rather than silent state desynchronization.Tested
python tools/check_conventions.py --base origin/mainpassed cleanly with 0 violations.git diff --checkreported 0 issues.ctest --test-dir build-relinkerran with 166/166 passed (100%).tools/nid_names.py compute_nid.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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T10:06:11Z.
Progress report (
a08de68→667fc9e)📉 System libraries: 88.35% (-0.36%, +15 declared functions)
🆕 15 declared as stubs
sceAjmiBatchInitializesceAjmiBatchJobClearContextsceAjmiBatchJobControlsceAjmiBatchJobDecodesceAjmiBatchJobDecodeSinglesceAjmiBatchJobEncodesceAjmiBatchJobGetCodecInfosceAjmiBatchJobGetGaplessDecodesceAjmiBatchJobGetInfosceAjmiBatchJobInitializesceAjmiBatchJobRunsceAjmiBatchJobRunSplitsceAjmiBatchJobSetGaplessDecodesceAjmiBatchStartsceAjmiBatchWaitImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-18T19:51:06Z.
Closing this, for these reasons:
libSceAjmiisAPS5_DUMMY_FUNon purpose: per the duplicate-export rule (#228), the AJM exports live inlibSceAjm.native, which already implements thesceAjmBatch*family (Initialize,JobRun,JobRunSplit,JobDecodeSingle,JobGetGaplessDecode, ...). Re-adding the same set underlibSceAjmigoes against that.Welcome to reopen with a concrete title or issue that imports
sceAjmi*, plus signatures from a reference (KytyPS5/shadPS4/prosper) and a test.Pull request closed