feat(libSceAudioOut): support mastering InitEx flags #9349
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9349"
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 MarcZX10 on 2026-10-21T19:05:30Z.
What
Implements
sceAudioOut2MasteringInitExwith its observed one-uint32_tflag argument and the shared Init/InitEx validation described in #9027's analysis of the decrypted PS5 12.00libSceAudioOut: only bit 31 is accepted. The mode is not applied because this implementation has no mastering stage. Other firmware versions are unverified.Moves the export from the unknown-signature throwing stubs into
AudioOut2Mastering.cpp, adds accepted and rejected flag-mask regressions, and updates the technical-debt entry.Tested
python3 tools/check_conventions.py --base upstream/mainpasses;git diff --checkpasses. The PR overlap tool stalled while checking the repository's 997 open PRs, so the focused open-PR search checked exact InitEx names and mastering-related PRs #8525 and #9027; neither changes this export.A full CMake configure was attempted with Ninja, Release, testing enabled and bundled dependencies. It stopped because the SDL2 submodule lacks
CMakeLists.txtand the host lacks XRandR development support, soaudio_out2_latencycould not be built or run here. No PS5 runtime test was performed.Checklist
main; no competing PR for this export foundImported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-21T20:41:28Z.
Independent Windows run of this PR (data only).
Environment: Windows 10 Pro 10.0.19045, Ryzen 7 5800X3D, WinLibs GCC 15.2.0 r7 (MinGW-w64 UCRT), Release, BUILD_TESTING=ON. Merge-tree of the PR head against
mainis clean. I built onlyaudio_out2_latency_tests;ctest -N -R audio_out2_latencylists exactly one test.PR head tested:
023139d12ce4aa15935e7bd8e3178964977e4224.Results (3 runs each):
audio_out2_latencypasses 3/3.core/libs/prx/libSceAudioOut/src/AudioOut2Mastering.cpp,core/libs/prx/libSceAudioOut/src/Unimplemented.cppwith the version from the PR's merge base (3d29fe0825), then rebuilt. The test fails 3/3 (exit 0xc0000409). I restored the PR's files afterwards.GPU: the run output has no
Selected GPUline; no GPU claim is made.Not run: other platforms, the other tests in the same family, the full repository CTest, and any title or console run.
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by harisibrar1 on 2026-10-22T13:40:02Z.
Review: COMMENTED
Checked against main
8b3e39832a, shadPS4 c1b26558 (audioout.cpp) and ps5-payload-dev/sdk a7685ce8:sceAudioOut2MasteringInitEx(void)inUnimplemented.cpp:368, and this merges cleanly with8b3e39832a.AudioOut2Latency.cppand the debt entry, so only one can land as-is. Could the checklist line saying there is no competing PR be updated, and could you coordinate with @hypermoist on whether to close this in favour of #9027?0x80268201, and an already-initialised stage returns 0 before the flags are checked. Throwing here is the safe direction, but it differs from the documented console result.Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.