feat(libSceAjm.native): implement sceAjmBatchJobSetResampleParametersEx #1554
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1554"
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 emaurel on 2026-10-08T12:13:25Z.
What
sceAjmBatchJobSetResampleParametersExwas a stub that threw. It now queues the same set job assceAjmBatchJobSetResampleParameters, with a second parameter, the ramp:ratio_start, andratio_change_per_sampleis added to the ratio after each output sample, until the next set call. The ratio keeps the meaning of the existing implementation: decoded samples per output sample.sceAjmBatchJobSetResampleParametersnow also clears any ramp.sceAjmBatchJobGetResampleInforeports the current, ramped ratio.ratio_start, or a non-finite change, returnsSCE_AJM_ERROR_INVALID_PARAMETERwithout queueing a job, like the existing call.sceAjmBatchJobSetResampleParameters.No reference implements this function, so the ramp semantics are inferred from the existing ratio and recorded in TechnicalDebt.
Tested
-DBUILD_TESTING=ONTestResampleRampinguest_ajm, on theMP3_MONOstream:sceAjmBatchJobSetResampleParameters(0.5).sceAjmBatchJobSetResampleParameters(2.0)after a ramp gives the plain decimated output, and reports ratio 2.guest_ajmpassed 5 of 5 runs on both systems. On Windows it also passed onmainbefore the change.agc_driver_dcc_keys_first_writeandagc_driver_srgb8_color_target, the intermittent NVIDIA failures of #1434 (addressed by the open #1441). Their binaries load only libc and libSceAgcDriver, which this PR does not change.python3 tools/check_conventions.py --base upstream/mainpasses.Checklist
main; no other open PR implements the same functions (#1541 and #1549 also edit these files and merge cleanly with this branch)NotImplemented_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-08T12:13:49Z.
Progress report (
1081602→1359ea5)📈 System libraries: 84.77% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceAjmBatchJobSetResampleParametersExImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T15:38:41Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/TechnicalDebt.mdL234Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:54:37Z.
Closing: same as #1045, no title is shown reaching
sceAjmBatchJobSetResampleParametersExon main, and no reference gives the ramp's behaviour. Please reopen with the title ID and the log line if you find one.Pull request closed