skia2/modules/skottie
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
..
fuzz rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
gm Remove "dummy" to comply with Android's inclusive language guidance 2020-07-31 19:11:23 +00:00
include [skottie] Add animation in/out point getters 2020-08-07 14:47:26 +00:00
src [skottie] Initial audio layer plumbing 2020-08-12 13:03:16 +00:00
tests [skottie] Initial audio layer plumbing 2020-08-12 13:03:16 +00:00
utils Enable ClangTidy check readability-static-accessed-through-instance. 2020-08-07 16:57:17 +00:00
BUILD.gn [skottie] Initial audio layer plumbing 2020-08-12 13:03:16 +00:00
skottie.gni [skottie] Initial audio layer plumbing 2020-08-12 13:03:16 +00:00