Interface: SyncedAudioSnapshot
A local audio snapshot. Position getters can be read separately when rendering UI.
Properties
anchor
readonlyanchor:SyncedAudioAnchor|null
Current request's immutable anchor, retained while paused; null after stop.
duration
readonlyduration:number
Standard duration in seconds, Infinity for loaded loops, or NaN before loading.
error
readonlyerror:PlotError|null
Last operational failure, cleared by a new valid attempt.
introDuration
readonlyintroDuration:number
Intro seconds, zero if absent, or NaN before its duration is known.
loopDuration
readonlyloopDuration:number
Loop seconds, zero in standard mode, or NaN before its duration is known.
muted
readonlymuted:boolean
Whether this object is locally muted.
state
readonlystate:SyncedAudioState
Current local playback status.
volume
readonlyvolume:number
Current local linear gain in [0, 1].