setAudioDelay

Delays the sound against the picture by value, mpv's audio-delay sign. A positive value presents every video frame that much earlier. It is for sound that reaches the ear early.

Sound that reaches the ear late, such as Bluetooth latency the device does not report, needs a negative value: -200 ms holds the picture back by 200 ms. The audio samples are never touched, so the change is instant and free, and the picture walks over smoothly within a frame or two rather than jumping.

Throws

when value is not finite or is more than DELAY_MAX either way.