Class BedrockSoundPlayback

java.lang.Object
com.viaversion.viafabricplus.bedrock.appearance.BedrockSoundPlayback

public final class BedrockSoundPlayback extends Object
Bedrock PCM channels in the client's existing audio device and listener.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    abandoned(net.minecraft.client.sounds.SoundEngine engine)
    The emergency path has already destroyed the audio context; do not call OpenAL.
    static void
    accept(net.raphimc.viabedrock.api.model.SoundPlaybackMessage message)
     
    static void
    cleared(net.minecraft.client.sounds.SoundEngine engine)
    Called after vanilla releases every channel, while its OpenAL context still exists.
    static void
    pause(net.minecraft.client.sounds.SoundEngine engine, net.minecraft.sounds.SoundSource[] exceptions)
     
    static void
    resume(net.minecraft.client.sounds.SoundEngine engine)
     
    static void
     
    static void
     
    static void
    tick(net.minecraft.client.sounds.SoundEngine engine)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • accept

      public static void accept(net.raphimc.viabedrock.api.model.SoundPlaybackMessage message)
    • stopServer

      public static void stopServer()
    • tick

      public static void tick(net.minecraft.client.sounds.SoundEngine engine)
    • cleared

      public static void cleared(net.minecraft.client.sounds.SoundEngine engine)
      Called after vanilla releases every channel, while its OpenAL context still exists.
    • abandoned

      public static void abandoned(net.minecraft.client.sounds.SoundEngine engine)
      The emergency path has already destroyed the audio context; do not call OpenAL.
    • stop

      public static void stop()
    • pause

      public static void pause(net.minecraft.client.sounds.SoundEngine engine, net.minecraft.sounds.SoundSource[] exceptions)
    • resume

      public static void resume(net.minecraft.client.sounds.SoundEngine engine)