Package net.minecraft.client.sound
Interface BufferedAudioStream
- All Superinterfaces:
AudioStream
,AutoCloseable
,Closeable
,NonRepeatingAudioStream
- All Known Implementing Classes:
OggAudioStream
- Mappings:
Namespace Name named net/minecraft/client/sound/BufferedAudioStream
intermediary net/minecraft/class_9673
official gtp
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault ByteBuffer
read
(int size) boolean
read
(FloatConsumer consumer) default ByteBuffer
readAll()
Methods inherited from interface net.minecraft.client.sound.AudioStream
getFormat
-
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
Lgtp;a:I
-
-
Method Details
-
read
- 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
Lgtp;a(Lit/unimi/dsi/fastutil/floats/FloatConsumer;)Z
-
read
- Specified by:
read
in interfaceAudioStream
- 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
Lgtl;a(I)Ljava/nio/ByteBuffer;
-
readAll
- Specified by:
readAll
in interfaceNonRepeatingAudioStream
- 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
Lgto;b()Ljava/nio/ByteBuffer;
-