# ResolvedAsset · API · zvuk

zvuk v1.14.1 · MIT · https://zvuk.schmooky.dev/api/ResolvedAsset/

Anything an 
`AssetResolver`
 is allowed to return:
- 
`AudioBuffer`
 — already decoded, used as-is.
- 
`ArrayBuffer`
 — encoded bytes; zvuk decodes via the engine's AudioContext.
- 
`string`
 — a URL; zvuk fetches and decodes via its normal loader (and
   the cache).
- 
`undefined`
 / 
`null`
 — explicit &#34;I don't have this&#34;. Falls through to
   the URL list passed to 
`loadSound`
 (or throws if none was given).

[← API](/api/)

TypeAlias

# ResolvedAsset

Anything an \`AssetResolver\` is allowed to return: - \`AudioBuffer\` — already decoded, used as-is. - \`ArrayBuffer\` — encoded bytes; zvuk decodes via the engine's AudioContext. - \`string\` — a URL; zvuk fetches and decodes via its normal loader (and the cache). - \`undefined\` / \`null\` — explicit "I don't have this". Falls through to the URL list passed to \`loadSound\` (or throws if none was given).
