Class AudioScheduler.PointEvent<H>

java.lang.Object
net.paulhertz.pixelaudio.schedule.AudioScheduler.PointEvent<H>
Enclosing class:
AudioScheduler<H>

public static final class AudioScheduler.PointEvent<H> extends Object
A one-shot event that occurs at an absolute sample index.
  • Field Details

    • sampleTime

      public final long sampleTime
      Absolute sample index (0-based) at which the event should fire.
    • happening

      public final H happening
      The user-defined Happening carried by this event.
  • Constructor Details

    • PointEvent

      public PointEvent(long sampleTime, H happening)