feat(libSceAudio3d): mix the bed and deliver audio through AudioOut #5259
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5259"
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 011010 on 2026-10-13T15:53:10Z.
What
Implement the non-positional (bed) audio path of libSceAudio3d and give it a real output:
Mixer.hpp): linear-balance pan (unity at centre), 5.1/7.1 downmix to stereo, S16/float input.sceAudio3dBedWriteandsceAudio3dBedWrite2: validate and copy the bed PCM.sceAudio3dPortAdvancemixes the bed into a frame;sceAudio3dPortPushlazily opens an AudioOut type-126 port and delivers the frames (libSceAudioOut, new PRIVATE link).sceAudio3dAudioOut{Open,Close,Output,Outputs}exports queue into associated ports that Push/Flush drain, with queue_depth backpressure.sceAudio3dObjectSetAttribute,sceAudio3dPortGetParameters,sceAudio3dStrError,sceAudio3dPortGetAttributesSupported.NotImplementedstubs.Tested
Linux (Ubuntu 24.04 x86-64). Full build;
guest_audio3d_parameters,guest_audio3d_portandguest_audio3d_mixerpass, plusaudio_out. Verified by hand that the new exports carry the expected auto-NIDs. The wider suite has failures only in this sandbox (userfaultfd denied, produced-binary execution), in unrelated areas. Not tested against a title: no catalogued title drives libSceAudio3d yet, so object PCM/GAIN/POSITION are validated but produce no audio (ABI unknown).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T15:53:59Z.
Progress report (
9d0a41d→fcc19aa)📉 System libraries: 87.8% (-0.35%, +10 implemented, +16 declared functions)
✅ 10 implemented
sceAudio3dAudioOutClosesceAudio3dAudioOutOpensceAudio3dAudioOutOutputsceAudio3dAudioOutOutputssceAudio3dBedWritesceAudio3dBedWrite2sceAudio3dObjectSetAttributesceAudio3dPortGetAttributesSupportedsceAudio3dPortGetParameterssceAudio3dStrError🆕 16 declared as stubs
sceAudio3dCreateSpeakerArraysceAudio3dDeleteSpeakerArraysceAudio3dGetSpeakerArrayMemorySizesceAudio3dGetSpeakerArrayMixCoefficientssceAudio3dGetSpeakerArrayMixCoefficients2sceAudio3dPortCreatesceAudio3dPortDestroysceAudio3dPortFreeStatesceAudio3dPortGetBufferLevelsceAudio3dPortGetStatesceAudio3dPortGetStatussceAudio3dPortOpenExsceAudio3dPortQueryDebugsceAudio3dReportRegisterHandlersceAudio3dReportUnregisterHandlersceAudio3dSetGpuRendererImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T02:30:43Z.
Closing: no title is known to reach this. With the queue at 700+ open PRs, please hold off on new PRs that don't name a title needing the change until it's down. If a title stops on this on current main, reopen with the title ID and the log line.
Pull request closed