Class SoundSystem

java.lang.Object
net.minecraft.client.audio.SoundSystem

public class SoundSystem extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • device

      private long device
    • context

      private long context
    • EMPTY

      private static final SoundSystem.IHandler EMPTY
    • staticChannels

      private SoundSystem.IHandler staticChannels
    • streamingChannels

      private SoundSystem.IHandler streamingChannels
    • listener

      private final Listener listener
  • Constructor Details

    • SoundSystem

      public SoundSystem()
  • Method Details

    • init

      public void init()
    • getChannelCount

      private int getChannelCount()
    • tryOpenDevice

      private static long tryOpenDevice()
    • cleanup

      public void cleanup()
    • getListener

      public Listener getListener()
    • acquireChannel

      @Nullable public SoundSource acquireChannel(SoundSystem.Mode p_216403_1_)
    • releaseChannel

      public void releaseChannel(SoundSource p_216408_1_)
    • getDebugString

      public String getDebugString()