Game dev
Saved & recent

Audio latency

Related terms: buffer size, output latency, network latency

The delay between requesting a sound and hearing it. Audio is usually mixed in blocks, then queued for the operating system and output device. Calling play does not mean the first sample reaches the speakers immediately, even when the game renders smoothly.

Smaller buffers can reduce delay but demand more frequent processing and increase the risk of audible dropouts if deadlines are missed. Rhythm games need to account for audible playback timing, not just a track’s requested start time. Display and input delays also affect perceived synchronization, so audio latency is only one part of that timing problem.

Further reading
Godot documentation
wait mix device queue 0 ms 3 ms 4.5 ms 14 ms audio block play request audible output 14 ms total
In this 14 ms example, the request waits 3 ms for mixing to start, mixing takes 1.5 ms, and the device queues the result for another 9.5 ms.

View in the full Game dev collection