Repository navigation
feat(libSceAjm): support ratio ramp in sceAjmBatchJobSetResampleParametersEx - #5647
Conversation
16811b7 to
803d30b
Compare
Co-Authored-By: Claude <noreply@anthropic.com>
|
Checked build + ctest (guest_ajm and the Ajm tests pass) and that the new test fails without the change. Added one commit: the TechnicalDebt line stated the ramp rule as fact, but no source confirms it (KytyPS5 ignores the change, prosper stubs it, and the console does not export the batch builders, per #3468). It now says it is assumed: added after each emitted output frame, clamped at zero, kept across batches. Merging once CI is green. |
803d30b to
3faeae8
Compare
|
Thanks @adriadam10! All CI checks ( |
|
Checked build + ctest (guest_ajm and the Ajm tests pass) on the current head; the only change since the last review is the TechnicalDebt wording that marks the ramp rule as assumed. Merging once the full Build is green. |
|
Thanks @adriadam10 its passing now ready for merging |
|
Checked on the current head merged onto main: build and |
What
Supports linear sample-rate ratio ramping across emitted output frames in
sceAjmBatchJobSetResampleParametersExforlibSceAjm.native:Resamplerstate to trackchange(ratio_change_per_sample).ResamplerProduceto linearly adjustratiobychangeon each emitted output sample frame, clamped at0.0f.JobKind::SetResampleParametersto parse bothratioandchangefromjob.parameters.sceAjmBatchJobSetResampleParametersExto validateratio_start(isfinite,> 0.0f) andratio_change_per_sample(isfinite), packing both parameters into the batch header.docs/dev/debt/libSceAjm.native.md.Tested
core/libs/tests/GuestAjm.cppunderTestResampleParametersEx:ratio_start(0.0f,-1.0f,NaN,INFINITY) with0x80930005.ratio_change_per_sample(NaN,INFINITY,-INFINITY) with0x80930005.1.0fstart,0.001fchange over 512 samples ramping to ~1.512f), confirming output PCM generation and verification viasceAjmBatchJobGetResampleInfo.python tools/check_conventions.py --base origin/mainChecklist