Interface AudioScheduler.PointHandler<H>

Enclosing class:
AudioScheduler<H>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AudioScheduler.PointHandler<H>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPoint(H happening, int offsetInBlock)
    Called when a point event occurs within the current audio block.
  • Method Details

    • onPoint

      void onPoint(H happening, int offsetInBlock)
      Called when a point event occurs within the current audio block.
      Parameters:
      happening - the event's Happening
      offsetInBlock - sample offset in [0, blockSize)