skia2/modules/skresources
Florin Malita 7806794543 [skottie] Initial audio layer plumbing
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>
2020-08-12 13:03:16 +00:00
..
include [skottie] Initial audio layer plumbing 2020-08-12 13:03:16 +00:00
src [skottie] Avoid image data duplication when pre-decoding 2020-07-30 22:09:41 +00:00
BUILD.gn [skottie/tools] Video playback support 2020-04-24 15:56:50 +00:00
skresources.gni Extracted Skottie's resource provider to a separate module 2019-11-25 18:58:26 +00:00