mgba icon indicating copy to clipboard operation
mgba copied to clipboard

Sound crackling in various games

Open floobadoo opened this issue 1 year ago • 10 comments

issues.zip After playing a select handful of games, I noticed that after a while a faint but noticeable cracking and fizzling sound starts happening. I have tried messing with a lot of settings but none seemed to do the trick, only causing other issues until I changed them back. I generated the report with The Simpson's Road Rage, but have also noticed it with Sonic Advance 2 and Super Mario Advance. Any help would be appreciated. This is my first time submitting a bug like this so I hope I uploaded the info file correctly. Thanks!

floobadoo avatar Oct 09 '23 00:10 floobadoo

Make sure on the Gameplay Settings tab to the right of "Sync:" you only have Audio checkmarked and have Video unchecked.

Also make sure you use Native as the FPS target and try to set the Audio buffer higher if crackling persists.

xXRaptorSc0pezXx avatar Oct 16 '23 11:10 xXRaptorSc0pezXx

I already have the audio sync checked and FPS target set to native, I will try upping the audio buffer next time it occurs. Thank You!

floobadoo avatar Oct 17 '23 03:10 floobadoo

I have the same issue here. Increasing the sample size have the downside to increase input lag, and sometime won't work

Bakaba avatar Dec 07 '23 18:12 Bakaba

I initially thought was an impossible mission to have no crackling sound + smoothness with mGBA, but after (so) many attempts I've found the perfect settings to play butter-smooth with a GTX 1070 8GB, 1920x1080 144Hz G-Sync, drivers NVidia 551.61 SD, i7-8750H, Windows 11 23H2. I'll share my config files: mGBA_cfg_hexaae.zip

In particular the crucial settings (I'm currently using latest build 0.11-832-49d9b70e6) for me were: Go to Tools > Settings (menu)...

Audio/Video:

Audio: SDL, 642, 44100 Video: OpenGL, 0

Gameplay:

FPS target: 59.7275 (Native) Sync: Video=OFF, Audio=ON

Enhancements:

Video renderer: Software

If you want smooth windowed mode too, you have to force G-Sync both fullscreen and windowed for mGBA.exe of course....

Hexaae avatar Feb 25 '24 22:02 Hexaae