Skip to content

API Type AudioReason

github-actions[bot] edited this page Nov 24, 2026 · 3 revisions

Type Alias: AudioReason

type AudioReason = 
  | "virtual"
  | "stolen"
  | "busMuted"
  | "locked"
  | "failed"
  | "waitingForData"
  | "notLoaded"
  | "missingLanguage"
  | "unknownLine"
  | "unknownEvent"
  | "busy"
  | "cooldown"
  | "chance"
  | "silence"
  | "noMatch"
  | "unavailable";

Defined in: src/plugins/audio/runtime/backend.ts:40

Why a sound isn't audible right now; null while it is (api-and-models §1). ADR 0351 §7: notLoaded, a refused play of a packaged sound whose packages are all unloaded (strict packaging).

ADR 0354 §3, §5: missingLanguage, a localised file no language of the chain has; unknownLine, a line key no line table defines. ADR 0355 §5: refused says: unknownEvent (no dialogue event by that name), busy (the channel was busy and the say was dropped, or waited past its maxWait), cooldown and chance (the event's or line's), silence (an explicit silence path), noMatch (no path matches) and unavailable (matches, but no line could play).

Clone this wiki locally