AudioEventCursor

One view's ordered event reader across every source. Call from one consumer thread, with the authoritative media time. Initial attachment and gaps over 250 ms discard past bursts. A late transient may arrive up to 30 ms late and a late structural confirmation up to 3 s late; song map events are delivered on time only. sample reports every kind of discard. Pausing never emits an event.

Properties

Link copied to clipboard
Link copied to clipboard

Live structural events dropped because a complete song map covers their time.

Link copied to clipboard

Functions

Link copied to clipboard
fun reset()

Mark the next sample as a fresh attachment; totals survive the reset.

Link copied to clipboard
fun sample(ptsMicros: Long, paused: Boolean = false): AudioEventDelivery