7806794543
Looking at audio layer support for Skottie, we need an API to externalize audio asset loading and playback. Similar approach to the other resource types for loading, but in addition we also delegate playback control to the embedder. First thought: keep it really simple and just emit seek() events. Positive |t|s for track playback, negative for track off. The embedder needs to implement state menagement (playing/not-playing) and optional synchronization (if animation playback is not real time). Change-Id: I54d1c2c39d0c38dd926f7c93764bde6695cb3fe2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309317 Commit-Queue: Florin Malita <fmalita@google.com> Reviewed-by: Mike Reed <reed@google.com> |
||
---|---|---|
.. | ||
include | ||
src | ||
BUILD.gn | ||
skresources.gni |