Android 16: Audio crackling when using "Vibrate on Key Press" overlay haptic feedback
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Is there an existing issue for this?
- This is a bug in RetroArch frontend
- I have searched the existing issues
Description
When using RetroArch on Android 16, audio crackling / distortion occurs in games with background music while pressing on-screen overlay buttons if "Vibrate on Key Press" is enabled in Input settings.
The issue is reproducible across multiple cores and does not depend on the emulated system on latest nightly and stable builds.
Testing performed:
Reproduces with multiple cores (Fuse, DOSBox-Pure, bsnes)
Reproduces with different games (Prince of Persia (dos), NHL 94(snes)).
Increasing audio latency does not help.
Changing output sample rate does not help.
Reproduces through device speakers and Bluetooth headphones.
Disabling "Vibrate on Key Press" completely eliminates the issue.
Expected behavior
Audio should remain clean while haptic feedback is triggered
Steps to reproduce the bug
- Launch RetroArch.
- Enable: Settings → Input → Haptic Feedback → Vibrate on Key Press.
- Start any game with background music.
- Use the touchscreen overlay controls repeatedly.
Version/Commit
1.22.2_GIT
Bisect Results
No response
Present in the nightly version
Yes, this is reproduced in the nightly build
Platform & operating system
Android 16
Affected Cores
any core
Environment information
Device: Sony Xperia 1 VIII
OS: Android 16
Build version: 73.0.A.2.38
Relevant log output
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Start by reproducing the crackling on Android 16 with Vibrate on Key Press enabled, compare it with haptic feedback disabled, and investigate the interaction between touchscreen overlay input, haptic feedback, and audio output. Done means background music remains clean while overlay buttons trigger haptic feedback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100