[whatwg] Timing API proposal for measuring intervals

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

Received on Monday, 11 July 2011 18:02:50 UTC