Class WhisperState

All Implemented Interfaces:
AutoCloseable

public class WhisperState extends WhisperJNI.WhisperJNIPointer
The WhisperState represents a whisper_state, useful for thread safe context sharing. You need to dispose the native memory for its instances by calling close() or WhisperJNI.free(WhisperState)
Author:
Miguel Álvarez Díez - Initial contribution
  • Constructor Details

    • WhisperState

      protected WhisperState(WhisperJNI whisper, int ref, WhisperContext context)
      The internal constructor for WhisperState
      Parameters:
      whisper - whisper lib instance
      ref - native pointer reference identifier
      context - parent WhisperContext
  • Method Details

    • close

      public void close()