Class WhisperContext

All Implemented Interfaces:
AutoCloseable

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

    • WhisperContext

      protected WhisperContext(WhisperJNI whisper, int ref)
      Internal context constructor
      Parameters:
      whisper - library instance
      ref - native pointer identifier
  • Method Details

    • close

      public void close()