How to Fix Audio Desync in Recorded Emulator Footage

Stylized illustration of a beige desktop tower in violet tones, with no logos or game art, evoking recording.

Fixing emulator audio desync in recorded footage starts by matching the capture sample rate, locking a fixed frame rate and checking drift over ten minutes.

The giveaway is a menu confirm: the highlight moves, the click lands a beat later, and the gap grows the longer you record. That is audio desync in captured emulator footage, and it is almost never a broken emulator. Video and audio are produced on separate clocks, and the recorder stitches them together on a third one, so a small mismatch at the start becomes a visible lag after ten minutes. I fix it by making every clock agree before I touch the footage in an editor, because shifting an audio track afterward hides the symptom instead of the cause.

Why the drift appears at all

An emulator renders frames and generates audio as two jobs, and a capture tool such as OBS Studio records both into one container. If the video is captured at a variable frame rate, the recorder timestamps frames unevenly while the audio runs at a steady rate, so the two streams slowly pull apart. Run-ahead and heavy frame delay make it worse: they intentionally hold frames to reduce input lag, which offsets when a visible action happens relative to its sound. A sample-rate mismatch does the same thing more quietly. If the audio device runs at 44.1 kHz and the capture is set to 48 kHz, the recorder resamples on the fly, and a cheap resampler adds latency that creeps. Understanding which clock is off tells you which setting to change, so guessing at filters wastes an afternoon.

Match the sample rate first

Start with the cheapest fix, because it costs nothing and removes a whole class of drift. Set the capture audio sample rate to whatever the device is actually using, either 44.1 kHz or 48 kHz. In OBS Studio or a similar tool that means matching the capture side to the output device rather than letting the driver choose; a mismatch forces a conversion on every buffer. RetroArch has its own audio sync and audio latency settings, so keep those consistent with the same rate too. Do not assume the default is right just because the recording sounds fine for a few seconds; a resampler can sound clean and still be a frame behind.

Setting Where it lives What to choose
Audio sample rate Capture tool and output device Match both to 44.1 kHz or 48 kHz, the same value on each.
Frame rate Capture / video settings Fixed, not variable, so timestamps stay even.
Run-ahead Emulator latency settings Off during recording, since it holds frames back.
Frame delay Emulator latency settings Keep low or off; large values offset sound from picture.
Audio sync and latency RetroArch audio settings Consistent with the matched rate, no aggressive buffering.

Lock a fixed frame rate and drop the latency tricks

With the sample rate matched, the next job is making the video clock predictable. Use a fixed frame rate rather than a variable one, so the recorder timestamps frames at even intervals and the audio has a stable reference. Then turn off run-ahead and excessive frame delay while recording. Those features are good for playing, where shaving a frame of input lag matters, but they are exactly wrong for capture, where you want the picture and the sound to share one timeline. I keep two configurations: a playing setup with the latency tricks on, and a recording setup that is deliberately plainer. Switching between them takes seconds and avoids chasing a ghost in the footage.

An ordered procedure

The steps below are the ones I run before any long capture. This assumes the footage is your own gameplay from media you own, which is the lawful basis for recording it at all.

  1. Set the output device and the capture audio sample rate to the same value, 44.1 kHz or 48 kHz.
  2. Choose a fixed frame rate in the capture tool instead of a variable one.
  3. Disable run-ahead and lower or disable frame delay in the emulator.
  4. Check RetroArch audio sync and audio latency so they agree with the matched rate.
  5. Record a short clip with a menu confirm as a visual-and-audio cue, then a longer ten-minute pass.
  6. Only if drift remains, resample or shift the audio track in an editor as a last resort.

What can go wrong

Three traps catch most people. First, a variable frame rate can look smooth in a player yet still desync, because the container stores uneven timestamps; a ten-second check will not reveal it. Second, matching only one side of the sample rate, for example setting the capture to 48 kHz while the device stays at 44.1 kHz, keeps the resampler in the path and the drift alive. Third, leaving run-ahead on shifts the picture earlier without moving the audio, so a clip looks like the sound is late when the real cause is a frame held back. If a change seems to do nothing, confirm you restarted the capture session; many settings only apply to a new recording. And keep the fix in the recording chain, not in an editor, unless you have no other option.

Verify over ten minutes with a cue

Short clips lie, so verify with a signal that has a sharp edge. A menu confirm is ideal: the highlight changes on one exact frame and the click is a single, unmistakable sound, so any gap between them is easy to see and hear. Watch that cue at the start, then let the recording run for ten minutes rather than five seconds and check the same cue again at the end. Drift that accumulates shows up as a growing offset; a fixed offset that never changes is a simple delay, which is easier to correct. If the click still lines up with the highlight after ten minutes, the clocks agree and the capture is clean.

When editing is the last resort

Sometimes the footage is already recorded and you cannot redo it. Resampling or shifting the audio track in an editor can pull a constant offset back into line, and that is fine for a fixed delay. It cannot repair drift that grows over time, because no single shift matches both the start and the end. I treat the editor as a salvage tool, not a workflow. Match the rates, lock the frame rate, and trust the ten-minute cue; then the editor stays closed and the next clip is right from the first frame.

Related reading

If you want to keep digging into this corner of the library, these two posts on Roms Get go a little further:

Similar Posts