feat(libSceAudioOut): export missing firmware audio output interfaces #8021
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8021"
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 ymatrix1 on 2026-10-19T17:56:57Z.
What
Exports 96 firmware
libSceAudioOutinterfaces that were not declared, in the newcore/libs/prx/libSceAudioOut/src/Unimplemented.cpp(added to the library'sCMakeLists.txt). Each throwsNotImplemented_nid_no_patch; signatures are unknown, so they are declared without parameters and listed under Unknown function info indocs/dev/debt/libSceAudioOut.md.The list is the intersection of the export table of the console's
libSceAudioOut.sprx(function symbols only), the verified NID name database and the functions not yet defined anywhere in the repo. Names that are not in aerolib.orig are left out. All 96 names recompute to their NIDs withtools/nid_names.py.Tested
python tools/check_conventions.py --base origin/mainpasses;Unimplemented.cppcompiles withg++ -std=c++20 -fsyntax-only(MinGW, Windows 11). Not run: full build, ctest, any title.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 (none added).mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T17:57:44Z.
Progress report (
8a7ba4b→29e9ab3)📉 System libraries: 64.23% (-0.94%, +96 declared functions)
🆕 96 declared as stubs
sceAudioOut2AllAudioMainToHeadphoneForDiagsceAudioOut2ArbitrationInitializesceAudioOut2ContextBedWritesceAudioOut2DebugStateCtrlsceAudioOut2GetAmbisonicsEncodeCoefficientssceAudioOut2GetHrtfIdForCronossceAudioOut2GetIpcHandlesceAudioOut2GetSystemStateExsceAudioOut2GetTvCorrectionInfosceAudioOut2InitializeExsceAudioOut2LoContextAdvancesceAudioOut2LoContextCreatesceAudioOut2LoContextDestroysceAudioOut2LoContextGetQueueLevelsceAudioOut2LoContextPushsceAudioOut2LoContextQueryMemorysceAudioOut2LoContextSetAttributessceAudioOut2LoInitsceAudioOut2LoPortCreatesceAudioOut2LoPortDestroysceAudioOut2LoPortGetStatesceAudioOut2LoPortGetStateExsceAudioOut2LoPortSetAttributessceAudioOut2LoTerminatesceAudioOut2MasteringInitExsceAudioOut2MbusInitsceAudioOut2MbusSetCaesarParamsceAudioOut2MbusSetConnectionssceAudioOut2MbusSetDeviceConnectionssceAudioOut2MbusSetHeadphoneOutModesceAudioOut2MbusSetMorpheusParamsceAudioOut2MbusSetPortConnectionssceAudioOut2MbusSetPortStatusessceAudioOut2MbusSetSparkParamsceAudioOut2MbusUserLoginFor3DAudiosceAudioOut2PortCreateExsceAudioOut2PortRegistersceAudioOut2PortUnregistersceAudioOut2ReportRegisterHandlersceAudioOut2ReportUnregisterHandlersceAudioOut2SetDebugHeadphoneModesceAudioOut2TerminatesceAudioOut2UserCreateExsceAudioOutArbitrationInitializesceAudioOutAssignHRTFsceAudioOutAttachToApplicationByPidsceAudioOutChangeAppModuleStatesceAudioOutCustomHrtfIsExistsceAudioOutDetachFromApplicationByPidsceAudioOutEnable3DAudioByArbitrationsceAudioOutEnable3DAudioForUsersceAudioOutEnableCinematicVrRotationsceAudioOutEnableMonoHpOutputsceAudioOutEnableTVCorrectionsceAudioOutEnableTVVirtualsceAudioOutEnableVrControllerLowPowerModesceAudioOutExConfigureOutputModesceAudioOutExGetLastOutputTimesceAudioOutExGetOutputInfosceAudioOutExGetSystemInfosceAudioOutExPtClosesceAudioOutExPtGetLastOutputTimesceAudioOutExPtOpensceAudioOutExSystemInfoIsSupportedAudioOutExModesceAudioOutGetFocusEnablePidsceAudioOutGetHandleStatusInfosceAudioOutGetInfosceAudioOutGetInfoOpenNumsceAudioOutGetSimulatedBusUsableStatusByBusTypesceAudioOutGetSimulatedHandleStatusInfosceAudioOutGetSimulatedHandleStatusInfo2sceAudioOutMasteringGetStatesceAudioOutMasteringInitsceAudioOutMasteringSetParamsceAudioOutMasteringTermsceAudioOutOpenExsceAudioOutPtClosesceAudioOutPtGetLastOutputTimesceAudioOutPtOpensceAudioOutSetAllMutesceAudioOutSetCaesarVolumesceAudioOutSetChatBalancesceAudioOutSetHeadphoneOutModesceAudioOutSetMainOutputsceAudioOutSetPadJackVolumesceAudioOutSetPadSpkVolumesceAudioOutSetRecModesceAudioOutSetSparkEQsceAudioOutSetSystemDebugStatesceAudioOutSetUsbVolumesceAudioOutSetVolumeDownsceAudioOutSysConfigureOutputModesceAudioOutSysGetMonitorInfosceAudioOutSysGetOutputInfosceAudioOutSysGetSystemInfosceAudioOutSysHdmiMonitorInfoIsSupportedAudioOutModeImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T18:16:19Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libSceAudioOut/CMakeLists.txtdocs/dev/debt/libSceAudioOut.mdcore/libs/prx/libSceAudioOut/CMakeLists.txtdocs/dev/debt/libSceAudioOut.mdcore/libs/prx/libSceAudioOut/CMakeLists.txtcore/libs/prx/libSceAudioOut/CMakeLists.txtImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-20T04:30:52Z.
@ymatrix1 thanks. Most names check out against the pinned aerolib, but these don't appear in it: in #8021 sceAudioOut2LoPortSetAttributesEx, sceAudioOut2LoPortGetAttributes, sceAudioOut2LoPortCreateEx, sceAudioOut2LoContextQueryMemoryEx, sceAudioOut2LoContextGetAttributes, sceAudioOut2LoContextCreateEx, sceAudioOut2SetTvCorrectionInfo, sceAudioOut2GetSystemDebugState, sceAudioOut2SetSpeakerInfo, sceAudioOut2PortSetAttributesEx, sceAudioOut2SetHrtfIdForCronos, and in #8028 sceHmd2ReprojectionClearEventGpuEnd, sceHmd2ReprojectionClearEventGpuStart and sceHmd2GazeGetEnabledEye. Which database did these names come from? Also, #7798 already answers 54 of #8028's Hmd2 NIDs before initialization; whichever of the two lands second will need to drop its copy of those.
Imported from boykopovar/AnyPS5. Originally posted by ymatrix1 on 2026-10-20T10:04:38Z.
@oneandonlydean thanks. The names came from a local NID name database built from aerolib plus extra name lists (not just the pinned file). Each name hashes to an NID that the console's own library exports, which is how I matched them, but I can't show where the extra names originate, so I removed every name that is not in the pinned aerolib: the 11 you listed are gone and the PR is now 96 stubs.