Class OpusEncCallbacks

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class OpusEncCallbacks extends Struct<OpusEncCallbacks> implements NativeResource

 struct OpusEncCallbacks {
     {@link OPEWriteFuncI ope_write_func} write;
     {@link OPECloseFuncI ope_close_func} close;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • WRITE

      public static final int WRITE
      The struct member offsets.
    • CLOSE

      public static final int CLOSE
      The struct member offsets.
  • Constructor Details

    • OpusEncCallbacks

      public OpusEncCallbacks(ByteBuffer container)
      Creates a OpusEncCallbacks instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details