Class SoundBuffer

java.lang.Object
com.mojang.blaze3d.audio.SoundBuffer

public class SoundBuffer extends Object
  • Field Details

    • data

      private @Nullable ByteBuffer data
    • format

      private final AudioFormat format
    • hasAlBuffer

      private boolean hasAlBuffer
    • alBuffer

      private int alBuffer
    • size

      private final int size
  • Constructor Details

  • Method Details

    • getAlBuffer

      OptionalInt getAlBuffer()
    • discardAlBuffer

      public void discardAlBuffer()
    • releaseAlBuffer

      public OptionalInt releaseAlBuffer()
    • format

      public AudioFormat format()
    • size

      public int size()
    • isValid

      public boolean isValid()