Class FMOD_CODEC_STATE

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class FMOD_CODEC_STATE extends Struct<FMOD_CODEC_STATE> implements NativeResource

 struct FMOD_CODEC_STATE {
     void * plugindata;
     {@link FMOD_CODEC_WAVEFORMAT struct FMOD_CODEC_WAVEFORMAT} * waveformat;
     {@link FMOD_CODEC_STATE_FUNCTIONS FMOD_CODEC_STATE_FUNCTIONS} * functions;
     int numsubsounds;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int PLUGINDATA
      The struct member offsets.
    • WAVEFORMAT

      public static final int WAVEFORMAT
      The struct member offsets.
    • FUNCTIONS

      public static final int FUNCTIONS
      The struct member offsets.
    • NUMSUBSOUNDS

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

    • FMOD_CODEC_STATE

      public FMOD_CODEC_STATE(ByteBuffer container)
      Creates a FMOD_CODEC_STATE 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