Class AudioScheduler.SpanEvent<H>
java.lang.Object
net.paulhertz.pixelaudio.schedule.AudioScheduler.SpanEvent<H>
- Enclosing class:
- AudioScheduler<H>
A duration event active on [startSample, endSample) where endSample is exclusive.
While active, it may be visited each block via
AudioScheduler.SpanHandler.onBlock(H, long, int).-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longAbsolute end sample index (exclusive).final HThe user-defined Happening carried by this event.final longAbsolute start sample index (inclusive). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
startSample
public final long startSampleAbsolute start sample index (inclusive). -
endSample
public final long endSampleAbsolute end sample index (exclusive). Must be greater than startSample. -
happening
The user-defined Happening carried by this event.
-
-
Constructor Details
-
SpanEvent
-