Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Karl Tomlinson 8f6ffacf7d bug 1213313 set mComputedValue for each tick so that SetTarget values are calculated correctly r=padenot
from mLastComputedValue.

MozReview-Commit-ID: 28lYzlarp8U

--HG--
extra : rebase_source : fc8aca3718d9857b75cd835ffac1940d20e9d943
2016-06-21 18:02:06 +12:00
Karl Tomlinson 470d8c9d1d bug 1257718 replace bailOut variable with more descriptive timeMatchesEventIndex r=padenot
with the new variable matching the loop exit status of interest.

MozReview-Commit-ID: 8xy5ipo4trp

--HG--
extra : rebase_source : e951177af0699a550a4fb56a6192720207e74cb2
2016-06-21 17:48:31 +12:00
Karl Tomlinson 5d244c17fc bug 1257718 look for new events as time advances r=padenot
|bailout| is reset for each aTime, so that the appropriate events for that
time can be found.

The |eventIndex| loop is adjusted so that, when it is re-entered, it keeps
the current set of events if they are appropriate (instead of advancing
every time it is entered).

|previous| and |next| are now advanced even when passing the last event,
removing the special case when past all events.

MozReview-Commit-ID: 8ZSIzKKGQbd

--HG--
extra : rebase_source : bfc899287abaf12d5cdbfbc1b22d6626ab2299dd
2016-06-21 17:01:18 +12:00
Karl Tomlinson b92cb079fc bug 1257718 introduce function-scope TimeOf() to simplify templated event time getter calls r=padenot
MozReview-Commit-ID: 7uKqlT2BpcS

--HG--
extra : rebase_source : 2670536946bde0e1a6911bacbaa68d1c636e6455
2016-06-17 10:54:54 +12:00
Karl Tomlinson fc997c1ba1 bug 1257718 rename lastEventId to eventIndex r=padenot
This is not necessarily related to the last event and it is not the
previous event.

MozReview-Commit-ID: 6hhv184BHfg

--HG--
extra : rebase_source : 8013606e27a159bb2598217db40df926539227c6
2016-06-17 09:36:24 +12:00
Karl Tomlinson 9d3453793f bug 1257718 don't export implementation of complex timeline methods r=padenot
This limits recompilation required when modifying the methods, and
makes the public interface easier to read.

MozReview-Commit-ID: Lo2f7xmIdGu

--HG--
rename : dom/media/webaudio/AudioEventTimeline.h => dom/media/webaudio/AudioEventTimeline.cpp
extra : rebase_source : 75586bb320dd2e5606e691919b1c6a7c48c2065f
2016-06-17 05:26:13 +12:00