Package net.paulhertz.pixelaudio.schedule

# 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 Summary

  Fields
  Modifier and Type
  Field
  Description
  `final H`
  `happening`
  The user-defined Happening carried by this event.
  `final long`
  `sampleTime`
  Absolute sample index (0-based) at which the event should fire.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PointEvent(long sampleTime, H happening)`

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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)