feat(audio): export missing firmware AudioIn, Audio3d and Voice interfaces #8331

Merged
ymatrix1 merged 4 commits from upstream-pr/8331 into main 2026-10-20 22:01:54 +00:00
ymatrix1 commented 2026-10-20 10:13:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ymatrix1 on 2026-10-20T10:13:35Z.


What

Exports 56 firmware interfaces that were not declared: 32 in libSceAudioIn, 12 in libSceAudio3d and 12 in libSceVoice (each library's Export.cpp). Each throws NotImplemented_nid_no_patch; signatures are unknown, so they are declared without parameters and listed under Unknown function info in the library's docs/dev/debt file.

The list is the intersection of the export table of the console's library (function symbols only), the pinned aerolib names (aerolib.orig) and the functions not yet defined anywhere in the repo. All 56 names recompute to their NIDs with tools/nid_names.py. Names that an open pull request adds or registers are left out, including the six sceAudio3dAudioOut* and sceAudio3dBedWrite* functions that #6148 implements.

Tested

python tools/check_conventions.py --base origin/main passes. Built on Linux in WSL (Ubuntu 24.04, GCC 13, CMake and Ninja): ninja libSceAudioIn libSceAudio3d libSceVoice succeeds. Not run: ctest, any title, a Windows build.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file (none added)
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source (none)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4934275642 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8331). Originally posted by [ymatrix1](https://github.com/ymatrix1) on 2026-10-20T10:13:35Z. --- ### What Exports 56 firmware interfaces that were not declared: 32 in `libSceAudioIn`, 12 in `libSceAudio3d` and 12 in `libSceVoice` (each library's `Export.cpp`). Each throws `NotImplemented_nid_no_patch`; signatures are unknown, so they are declared without parameters and listed under Unknown function info in the library's `docs/dev/debt` file. The list is the intersection of the export table of the console's library (function symbols only), the pinned aerolib names (`aerolib.orig`) and the functions not yet defined anywhere in the repo. All 56 names recompute to their NIDs with `tools/nid_names.py`. Names that an open pull request adds or registers are left out, including the six `sceAudio3dAudioOut*` and `sceAudio3dBedWrite*` functions that #6148 implements. ### Tested `python tools/check_conventions.py --base origin/main` passes. Built on Linux in WSL (Ubuntu 24.04, GCC 13, CMake and Ninja): `ninja libSceAudioIn libSceAudio3d libSceVoice` succeeds. Not run: ctest, any title, a Windows build. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file (none added) - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (none) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-20 10:14:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-20T10:14:20Z.


Progress report (ca74ef2 → 68f9b47)

📉 System libraries: 63.96% (-0.54%, +56 declared functions)

🆕 56 declared as stubs
Library Name
libSceAudio3d sceAudio3dCreateSpeakerArray
libSceAudio3d sceAudio3dDeleteSpeakerArray
libSceAudio3d sceAudio3dGetSpeakerArrayMemorySize
libSceAudio3d sceAudio3dGetSpeakerArrayMixCoefficients
libSceAudio3d sceAudio3dGetSpeakerArrayMixCoefficients2
libSceAudio3d sceAudio3dPortCreate
libSceAudio3d sceAudio3dPortDestroy
libSceAudio3d sceAudio3dPortGetStatus
libSceAudio3d sceAudio3dPortOpenEx
libSceAudio3d sceAudio3dReportRegisterHandler
libSceAudio3d sceAudio3dReportUnregisterHandler
libSceAudio3d sceAudio3dStrError
libSceAudioIn sceAudioInChangeAppModuleState
libSceAudioIn sceAudioInCountPorts
libSceAudioIn sceAudioInDeviceHqOpen
libSceAudioIn sceAudioInDeviceIdAsyncOpen
libSceAudioIn sceAudioInDeviceIdHqOpen
libSceAudioIn sceAudioInDeviceIdOpen
libSceAudioIn sceAudioInDeviceOpenEx
libSceAudioIn sceAudioInExtCtrl
libSceAudioIn sceAudioInGetHandleStatusInfo
libSceAudioIn sceAudioInHqOpenEx
libSceAudioIn sceAudioInInputs
libSceAudioIn sceAudioInIsSharedDevice
libSceAudioIn sceAudioInOpenEx
libSceAudioIn sceAudioInSetCompressorPreGain
libSceAudioIn sceAudioInSetConnections
libSceAudioIn sceAudioInSetDevConnection
libSceAudioIn sceAudioInSetDeviceMuteStatus
libSceAudioIn sceAudioInSetMicLevel
libSceAudioIn sceAudioInSetMode
libSceAudioIn sceAudioInSetMode2
libSceAudioIn sceAudioInSetNoiseGateThreshold
libSceAudioIn sceAudioInSetPortConnections
libSceAudioIn sceAudioInSetPortStatuses
libSceAudioIn sceAudioInSetSparkParam
libSceAudioIn sceAudioInSetSparkSideTone
libSceAudioIn sceAudioInSetUsbGain
libSceAudioIn sceAudioInSetUserMute
libSceAudioIn sceAudioInVmicCreate
libSceAudioIn sceAudioInVmicDestroy
libSceAudioIn sceAudioInVmicGetStatus
libSceAudioIn sceAudioInVmicSetMute
libSceAudioIn sceAudioInVmicWrite
libSceVoice sceVoiceDeviceInCustomerData
libSceVoice sceVoiceGetMemorySize
libSceVoice sceVoiceInitHQ
libSceVoice sceVoicePausePortAll
libSceVoice sceVoiceQAEnableRecording
libSceVoice sceVoiceResumePortAll
libSceVoice sceVoiceSetBitRate
libSceVoice sceVoiceSetMuteFlagAll
libSceVoice sceVoiceUpdatePort
libSceVoice sceVoiceVADAdjustment
libSceVoice sceVoiceVADPVTAdjustment
libSceVoice sceVoiceVADSetVersion
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6288623922 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8331#issuecomment-6288623922). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-20T10:14:20Z. --- <!-- progress-report --> ### Progress report (ca74ef2 → 68f9b47) 📉 **System libraries**: 63.96% (-0.54%, +56 declared functions) <details> <summary>🆕 56 declared as stubs</summary> | Library | Name | | - | - | | libSceAudio3d | `sceAudio3dCreateSpeakerArray` | | libSceAudio3d | `sceAudio3dDeleteSpeakerArray` | | libSceAudio3d | `sceAudio3dGetSpeakerArrayMemorySize` | | libSceAudio3d | `sceAudio3dGetSpeakerArrayMixCoefficients` | | libSceAudio3d | `sceAudio3dGetSpeakerArrayMixCoefficients2` | | libSceAudio3d | `sceAudio3dPortCreate` | | libSceAudio3d | `sceAudio3dPortDestroy` | | libSceAudio3d | `sceAudio3dPortGetStatus` | | libSceAudio3d | `sceAudio3dPortOpenEx` | | libSceAudio3d | `sceAudio3dReportRegisterHandler` | | libSceAudio3d | `sceAudio3dReportUnregisterHandler` | | libSceAudio3d | `sceAudio3dStrError` | | libSceAudioIn | `sceAudioInChangeAppModuleState` | | libSceAudioIn | `sceAudioInCountPorts` | | libSceAudioIn | `sceAudioInDeviceHqOpen` | | libSceAudioIn | `sceAudioInDeviceIdAsyncOpen` | | libSceAudioIn | `sceAudioInDeviceIdHqOpen` | | libSceAudioIn | `sceAudioInDeviceIdOpen` | | libSceAudioIn | `sceAudioInDeviceOpenEx` | | libSceAudioIn | `sceAudioInExtCtrl` | | libSceAudioIn | `sceAudioInGetHandleStatusInfo` | | libSceAudioIn | `sceAudioInHqOpenEx` | | libSceAudioIn | `sceAudioInInputs` | | libSceAudioIn | `sceAudioInIsSharedDevice` | | libSceAudioIn | `sceAudioInOpenEx` | | libSceAudioIn | `sceAudioInSetCompressorPreGain` | | libSceAudioIn | `sceAudioInSetConnections` | | libSceAudioIn | `sceAudioInSetDevConnection` | | libSceAudioIn | `sceAudioInSetDeviceMuteStatus` | | libSceAudioIn | `sceAudioInSetMicLevel` | | libSceAudioIn | `sceAudioInSetMode` | | libSceAudioIn | `sceAudioInSetMode2` | | libSceAudioIn | `sceAudioInSetNoiseGateThreshold` | | libSceAudioIn | `sceAudioInSetPortConnections` | | libSceAudioIn | `sceAudioInSetPortStatuses` | | libSceAudioIn | `sceAudioInSetSparkParam` | | libSceAudioIn | `sceAudioInSetSparkSideTone` | | libSceAudioIn | `sceAudioInSetUsbGain` | | libSceAudioIn | `sceAudioInSetUserMute` | | libSceAudioIn | `sceAudioInVmicCreate` | | libSceAudioIn | `sceAudioInVmicDestroy` | | libSceAudioIn | `sceAudioInVmicGetStatus` | | libSceAudioIn | `sceAudioInVmicSetMute` | | libSceAudioIn | `sceAudioInVmicWrite` | | libSceVoice | `sceVoiceDeviceInCustomerData` | | libSceVoice | `sceVoiceGetMemorySize` | | libSceVoice | `sceVoiceInitHQ` | | libSceVoice | `sceVoicePausePortAll` | | libSceVoice | `sceVoiceQAEnableRecording` | | libSceVoice | `sceVoiceResumePortAll` | | libSceVoice | `sceVoiceSetBitRate` | | libSceVoice | `sceVoiceSetMuteFlagAll` | | libSceVoice | `sceVoiceUpdatePort` | | libSceVoice | `sceVoiceVADAdjustment` | | libSceVoice | `sceVoiceVADPVTAdjustment` | | libSceVoice | `sceVoiceVADSetVersion` | </details>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!8331
No description provided.