Skip to content

API Interface AudioLineEvent

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

Interface: AudioLineEvent

Defined in: src/plugins/audio/runtime/localisation/lines.ts:75

Audio.onLine's event (ADR 0354 §5, 0357 §1, 0355 §5).

Properties

duration

duration: number;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:83


event?

event?: string;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:91

The dialogue event that said it (absent for Audio.line).


key

key: string;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:77


language

language: string | null;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:79


marker?

marker?: AudioMarkerEvent;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:87

Phase marker: a Cue marker of the line's file.


phase

phase: "start" | "end" | "marker";

Defined in: src/plugins/audio/runtime/localisation/lines.ts:76


reason?

reason?: "ended" | "stopped" | "interrupted";

Defined in: src/plugins/audio/runtime/localisation/lines.ts:89

Phase end.


speaker

speaker: string | null;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:78


text

text: string | null;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:80


textKey

textKey: string | null;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:82

The subtitle's string key, so a display can re-resolve it on a language change; null when never subtitled.


time

time: number;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:85

Heard time (Audio.time's base).

Clone this wiki locally