feat(audioout): implement sceAudioOut2Set3DLatency and accept sceAudioOut2MasteringInit(0) #649
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/649"
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 Celegans12 on 2026-10-05T10:55:27Z.
What
libSceAudioOut does not export
sceAudioOut2Set3DLatency(TViD1EZXkNI), so PPSA26344's import of it does not resolve, andsceAudioOut2MasteringInit(XHl38ZNknbs) throws for every value.sceAudioOut2Set3DLatency(int userId, uint32_t latency)returns 0 for the system user (0xFF) with latency 2. Any other user or latency throws: no source confirms the unit, the range or the error codes.sceAudioOut2MasteringInit(uint32_t flags)returns 0 for flags 0 and throws for other flags.(user_id, output, latency_us), marked as unsure there. The title's call leaves edx unset, so two arguments are kept, the second being the latency.sceAudioOut2Set3DLatency(0xFF, 2)at 0x2d467c, right aftersceAudioOut2Initialize; a negative return takes the audio initialization's failure path (0x2d4814).sceAudioOut2MasteringInit(0)at 0x13221b8 in the audio subsystem setup; the result is ignored.Tested
main53dc19cf: configure-DBUILD_TESTING=ON, full build,--target libs,ctest:ctest --output-on-failure)audio_out2_latency:(0xFF, 2)returns 0 on two calls;(0xFF, 1),(0xFF, 3)and(0x10000000, 2)throw;sceAudioOut2MasteringInit(0)returns 0 and(1)throws. It does not link onmain.TViD1EZXkNI, unresolved onmain, now resolves; no trace yet shows the title reaching either call.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-05T16:06:59Z.
Progress report (
e248f40→0404752)📉 System libraries: 79.18% (-0.02%, +1 declared functions)
🆕 1 declared as stubs
sceAudioOut2Set3DLatencyImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-05T18:47:11Z.
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.mdL116