This page is not complete.
AudioContextLatencyCategory type is an enumerated set of strings which are used to select one of a number of default values for acceptable maximum latency of an audio context. By using these strings rather than a numeric value when specifying a latency to a
AudioContext, you can allow the user agent to select an appropriate latency for your use case that makes sense on the device on which your content is being used.
||The user agent should balance audio output latency and power consumption when selecting a latency value.|
||The audio is involved in interactive elements, such as responding to user actions or needing to coincide with visual cues such as a video or game action. The user agent should select the lowest possible latency that doesn't cause glitches in the audio. This is likely to require increased power consumption. This is the default value.|
||The user agent should select a latency that will maximize playback time by minimizing power consumption at the expense of latency. Useful for non-interactive playback, such as playing music.|
|Web Audio API
The definition of 'AudioContextLatencyCategory' in that specification.
|Working Draft||Initial definition.|
BCD tables only load in the browser
Showing compatibility for