Sound is a grabbling mess

i’m trying to solve the crackling sound issues. I have followed the guide in the RetroArch megathread but i still got issues mainly with Genesis emulator and some GBA games. Alien Soldier&Altered Beast on Genesis sound/music is totally messed up when you start shooting and moving. I’m using genesis_plus_gx.so core with retroarch 1.7.6.