[whatwg] Timing API proposal for measuring intervals

Glenn Maynard glenn at zewt.org
Mon Jul 11 18:02:50 PDT 2011

On Mon, Jul 11, 2011 at 8:57 PM, Robert O'Callahan <robert at ocallahan.org>wrote:

> Suppose we wanted to sync animation (either scripted animation or CSS
> animation) to audio. We'd want them to use the audio clock, right?

For that you need the play cursor of the actual audio sample you're
synchronizing against, which is typically not strongly tied to the
associated hardware audio clock.  For example, audio underruns may change
their alignment.

Glenn Maynard

More information about the whatwg mailing list