outputLatency read-only property of
AudioContext Interface provides an estimation of the output latency
of the current audio context.
This is the time, in seconds, between the browser passing an audio buffer out of an audio graph over to the host system's audio subsystem to play, and the time at which the first sample in the buffer is actually processed by the audio output device.
It varies depending on the platform and the available hardware.
var outputLatency = audioCtx.outputLatency;
A double representing the output latency in seconds.
const audioCtx = new AudioContext(); console.log(audioCtx.outputLatency);
|Web Audio API
The definition of 'outputLatency' in that specification.
BCD tables only load in the browser