← Back to release summary

WebAudio: Add AudioContext.getOutputTimestamp() method

Category
Multimedia
Type
New or changed feature
Status
Enabled by default (Chrome 57)
Intent stage
None

Summary

The AudioContext.getOutputTimestamp() method helps to synchronize DOM time and AudioContext time values. It is used to estimate DOMHighResTimeStamp value of the audio output stream position for the given AudioContext.currentTime value, or do the opposite: estimate AudioContext.currentTime value of the audio output stream position for the given DOMHighResTimeStamp value.

Standards & signals

Docs: https://webaudio.github.io/web-audio-api/#widl-AudioContext-getOutputTimestamp-AudioTimestamp https://developer.mozilla.org/en-US/docs/Web/API/AudioContext

View on chromestatus.com