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> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.