feat(audio): complete all stubs in libSceAudioIn and libSceAudioOut #9818
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9818"
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 Delciob on 2026-10-22T16:19:34Z.
What
Complete remaining stubs in libSceAudioIn and libSceAudioOut.
Tested
Windows 10 x64, audio subsystem build.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T16:47:24Z.
Review: CHANGES_REQUESTED
I reviewed head
3bb18b2fcd6dde96666992c87d659c09fcfad267. ThesceAudioInIsPadEmbeddedMicchange validates that a handle exists but returns 0 for every valid device; the debt entry says the native result depends on whether the resolved device is an embedded mic (type 8), which the host cannot classify. This would silently report false for an embedded mic rather than implement the query. Please retain the explicit unimplemented path until a device-type mapping exists, or implement and test the classification.sceAudioOutDeviceIdOpenremains a no-argument export that now returns success despite debt documenting the required device ID/port/sample/frequency/format arguments and absent host-device mapping.sceAudioOut2MasteringInitonly changes the unimplemented helper to a direct exception; the debt entry records a native nonzero-flags error code, so either implement the evidenced result or preserve the prescribed helper while unresolved.Open PR #9826 touches these same AudioIn/AudioOut exports, so coordinate instead of maintaining duplicate changes.
CONTRIBUTING.mdrequires the unimplemented helper.python3 tools/check_conventions.py --base upstream/mainandgit diff --checkpass, but the PR only reports an audio subsystem build and adds no focused tests. The merge-tree check reports a conflict inAudioOut.cppagainst currentmain; sync and resolve it before merge.Pull request closed