fix(audioout): isolate haptic audio and add Xbox rumble fallback #2467
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2467"
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 joelfernandes23 on 2026-10-09T22:18:23Z.
What
Silksong's haptic PCM played as a buzz through the main speakers when no DualSense audio device was available. Keep vibration samples out of normal audio and approximate their two-channel RMS energy as large/small motor rumble on non-PS5 controllers. Ignore near-silence and use an 80 ms hold/deadline to preserve short impulses and stop rumble when audio stops. Ordinary rumble commands remain separate; the stronger intensity wins. Controller speaker audio retains its fallback, and an available DualSense audio device retains its waveform path.
Related/dependency: #2032 already implements the audio-leak suppression and its output regression. This PR overlaps that portion and adds the motor-rumble bridge. The overlapping changes need consolidation before merge; the no-overlap checklist item remains unchecked.
Limitations: motor intensity approximates haptic waveform energy. The bridge uses the emulator's single controller; per-user/multi-controller routing is not implemented. Intensities are peak-held while the stream remains active.
Tested
guest_padpassed. Added checks cover silent main output for mono/stereo haptic ports, motor energy conversion independent of speaker samples, automatic expiry, and preservation of ordinary rumble.tools/check_conventions.py --base origin/main: passes.64fe7439. Runtime tests used the local Silksong build; Linux and physical DualSense output were not tested.Checklist
main; no other open PR implements the same functions — based on64fe7439, but #2032 overlaps the audio-leak fix as described above.NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt — no new system API stubs..mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T22:47:03Z.
Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head
50b92bbb, merged ontomain09a3462ein one build with #2473, which currentmainneeds to build on Windows, and 3 other new PRs.audio_out2_pad_mix,audio_out2_port_layoutsandguest_pad.No title was run.
🤖 Addressed by Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T22:48:45Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Pull request closed