Sound lag in MAME

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of allroy1975 allroy1975 2 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #78418
    Profile photo of markiej
    markiej
    Participant

    Hi all,

    I’ve been having generally good luck getting everything working, thanks to these forums! However, unlike the other emu’s I’ve played, the sound in MAME lags behind the video by about a second. Is this normal? Is there a tweak somewhere to fix it. Not super important, but it does take away from the experience a little. When you hit the button in Asteroids, you kind of need to hear that immediate “pew pew”

    #83259
    Profile photo of allroy1975
    allroy1975
    Participant

    any luck with this? I’m having it too, and only want mame for one of my pis. I’m putting this thing in an old Jr. Pac-Man Cabinet. Just want a few old mame games. Even something as simple as Ms. Pac is behind, just on the sound. real strange.

    #83260
    Profile photo of allroy1975
    allroy1975
    Participant

    welp, just found another thread:
    http://blog.petrockblock.com/forums/topic/sound-sync-and-quality-issues-in-mame-even-on-old-games/

    that suggested changing /opt/retropie/emulators/mame4all-pi/mame.cfg
    samplerate=22100
    to
    samplerate=4000

    4000 didn’t seem right to me, so I google’d mame.cfg samplerate and found someone had set it to 44100 – which seems more right to me.
    so…
    samplerate=44100

    Issue is fixed for me. sounds and plays great!

Viewing 3 posts - 1 through 3 (of 3 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar