It seems the static sounds are caused by incorrect grounding. My speakers and Raspberry Pi runs of the same power adapter and whenever I change that so that they run of two separate adapters everything works good.
The settings I made to /home/pi/RetroPie/configs/all/retroarch.cfg are the following:<br>
audio_enable = true<br>
audio_out_rate = 44100<br>
audio_driver = sdl<br>
audio_sync = true
After these changes were made and after a reboot everything worked good. Now I get perfect and clear sound/music in all my games.
Also make sure to overclock your Raspberry Pi. I’m running mine on 900Mhz (Medium) and everything works great. You can try without, but people recommend overclocking on order for the audio to work good.
I also followed this guide (http://raspberrypi.stackexchange.com/a/5611) in order to update the kernel to the latest version with updated audio drivers.
Let me know if my suggestions worked!
I’ve a question.
In my RetroPie SD (last 1.9.1), the sounds and music work fine on emulationstaion and NES games, but don’t work on Amiga Games and GameGear games.
Do you know how to solve it? My games without sound are not the same.