Interface WhisperEncoderBeginCallback

All Superinterfaces:
com.sun.jna.Callback

public interface WhisperEncoderBeginCallback extends com.sun.jna.Callback
Callback before the encoder starts. If not null, called before the encoder starts. If it returns false, the computation is aborted.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.jna.Callback

    com.sun.jna.Callback.UncaughtExceptionHandler
  • Field Summary

    Fields inherited from interface com.sun.jna.Callback

    FORBIDDEN_NAMES, METHOD_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    callback(com.sun.jna.Pointer ctx, com.sun.jna.Pointer state, com.sun.jna.Pointer user_data)
    Callback method before the encoder starts.
  • Method Details

    • callback

      boolean callback(com.sun.jna.Pointer ctx, com.sun.jna.Pointer state, com.sun.jna.Pointer user_data)
      Callback method before the encoder starts.
      Parameters:
      ctx - The whisper context.
      state - The whisper state.
      user_data - User data.
      Returns:
      True if the computation should proceed, false otherwise.