Interface BufferedAudioStream

All Superinterfaces:
AudioStream, AutoCloseable, Closeable, NonRepeatingAudioStream
All Known Implementing Classes:
OggAudioStream

@Environment(CLIENT) public interface BufferedAudioStream extends NonRepeatingAudioStream
Mappings:
Namespace Name
named net/minecraft/client/sound/BufferedAudioStream
intermediary net/minecraft/class_9673
official iqj
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default ByteBuffer
    read(int size)
     
    boolean
    read(it.unimi.dsi.fastutil.floats.FloatConsumer consumer)
     
    default ByteBuffer
     

    Methods inherited from interface net.minecraft.client.sound.AudioStream

    getFormat

    Methods inherited from interface java.io.Closeable

    close
  • Field Details

    • CHUNK_SIZE

      static final int CHUNK_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CHUNK_SIZE Lnet/minecraft/client/sound/BufferedAudioStream;CHUNK_SIZE:I
      intermediary field_51441 Lnet/minecraft/class_9673;field_51441:I
      official a Liqj;a:I
  • Method Details

    • read

      boolean read(it.unimi.dsi.fastutil.floats.FloatConsumer consumer) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named read Lnet/minecraft/client/sound/BufferedAudioStream;read(Lit/unimi/dsi/fastutil/floats/FloatConsumer;)Z
      intermediary method_59758 Lnet/minecraft/class_9673;method_59758(Lit/unimi/dsi/fastutil/floats/FloatConsumer;)Z
      official a Liqj;a(Lit/unimi/dsi/fastutil/floats/FloatConsumer;)Z
    • read

      default ByteBuffer read(int size) throws IOException
      Specified by:
      read in interface AudioStream
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named read Lnet/minecraft/client/sound/AudioStream;read(I)Ljava/nio/ByteBuffer;
      intermediary method_19720 Lnet/minecraft/class_4234;method_19720(I)Ljava/nio/ByteBuffer;
      official a Liqf;a(I)Ljava/nio/ByteBuffer;
    • readAll

      default ByteBuffer readAll() throws IOException
      Specified by:
      readAll in interface NonRepeatingAudioStream
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named readAll Lnet/minecraft/client/sound/NonRepeatingAudioStream;readAll()Ljava/nio/ByteBuffer;
      intermediary method_59757 Lnet/minecraft/class_9672;method_59757()Ljava/nio/ByteBuffer;
      official b Liqi;b()Ljava/nio/ByteBuffer;