feat(ajm): implement sceAjmBatchJobSetResampleParametersEx #1045
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1045"
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 aryanrawatispro-ship-it on 2026-10-07T03:44:39Z.
What
sceAjmBatchJobSetResampleParametersExappends the resample parameters job with a start ratio and a per-sample change. The resampler applies the change after each output sample, so the ratio ramps linearly across jobs until resample parameters are set again, andsceAjmBatchJobGetResampleInforeports the ratio the ramp has reached.sceAjmBatchJobSetResampleParametersis now the same job with a change of 0, so its behaviour does not change.SCE_AJM_ERROR_INVALID_PARAMETER. The flags argument is ignored, as for the non-Ex call.double, so a long ramp does not drift fromstart + n * change.The signature comes from SharpProspero's
Ajm.cs. No reimplementation applies the ramp: prosper registers the export as a no-op ("the host backend resamples") while leaving the non-Ex call unregistered, and PS5PCEM writes an unsupported-flag result. The ramp semantics are recorded in TechnicalDebt.Tested
BUILD_TESTING=ON, lavapipe.guest_ajm, newTestResampleRampon the 6-frame MP3 stream:GetResampleInforeports1 + samples written;sceAjmBatchJobSetResampleParametersafter an Ex ramp stops it;mainthe test stops withsceAjmBatchJobSetResampleParametersEx not implemented. Removing the ramp step, theResamplingcheck for the change, the ratio check, or swapping the advance and the ramp step each make it fail.ctest: 379 of 380 pass; 20 GPU tests skip on lavapipe as onmain.guest_sce_netaborts in this environment; it links only libSceNet, libSceNetCtl and libc, and fails the same way on unmodifiedmain(its resolver test).libSceAjm.native.prxexports5ldnD16rYZw.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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T03:45:03Z.
Progress report (
0c952fe→82d5b44)📈 System libraries: 87.31% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceAjmBatchJobSetResampleParametersExImported from boykopovar/AnyPS5. Originally posted by aryanrawatispro-ship-it on 2026-10-07T04:20:10Z.
Closing: like #867, this comes from the reference implementations only, and no title I know of reaches
sceAjmBatchJobSetResampleParametersEx. I'll reopen it with the title ID and the log line if one does.Pull request closed