Mame 2015 and Mess 2015 audio crackling

i tried to play 5200 on using mame core or mess core got same results they end up crackling is there a work around or way to fix it ?

Don’t know about 5200 emulation, not a system I’m emulating, but does your sound problem also happens on other emulators in retroarch?

Mess sound emulation can be quite weak for many systems, is that better on stand-alone Mess?

well it didnt do it before ill have to try others and see people reported it on psx core and few others its mame and mess but on stand alone doesnt do the crackling