Class AlUtil

java.lang.Object
net.minecraft.client.sound.AlUtil

@Environment(CLIENT)
public class AlUtil
extends Object
  • Field Details

    • LOGGER

      private static final Logger LOGGER
  • Constructor Details

    • AlUtil

      public AlUtil()
  • Method Details

    • getErrorMessage

      private static String getErrorMessage​(int errorCode)
    • checkErrors

      static boolean checkErrors​(String sectionName)
    • getAlcErrorMessage

      private static String getAlcErrorMessage​(int errorCode)
    • checkAlcErrors

      static boolean checkAlcErrors​(long deviceHandle, String sectionName)
    • getFormatId

      static int getFormatId​(AudioFormat format)