AudioContext.outputLatency

The outputLatency read-only property of the AudioContext Interface provides an estimation of the output latency of the current audio context.

This is the time, in seconds, between the browser requesting the host system to play a buffer and the time at which the first sample in the buffer is actually processed by the audio output device. It depends on the platform and the available hardware.
 

Syntax

audioCtx.outputLatency;

Value

A double representing the output latency in seconds.

Example

var audioCtx = new AudioContext();
audioCtx.outputLatency;

Specifications

Specification Status Comment
Web Audio API
The definition of 'outputLatency' in that specification.
Working Draft  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic Support (Yes) ? No No (Yes) No
FeatureAndroidChrome for AndroidEdge mobileFirefox for AndroidIE mobileOpera AndroidiOS Safari
Basic Support (Yes) (Yes) ? No No (Yes) ?

See also

Document Tags and Contributors

 Contributors to this page: fscholz, chrisdavidmills
 Last updated by: fscholz,