Package net.minecraft.client.sound
Class RepeatingAudioStream
java.lang.Object
net.minecraft.client.sound.RepeatingAudioStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,AudioStream
- Mappings:
Namespace Name official fdc
intermediary net/minecraft/class_4856
named net/minecraft/client/sound/RepeatingAudioStream
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate AudioStream
private final RepeatingAudioStream.DelegateFactory
private final BufferedInputStream
-
Constructor Summary
ConstructorDescriptionRepeatingAudioStream
(RepeatingAudioStream.DelegateFactory delegateFactory, InputStream inputStream) -
Method Summary
-
Field Details
-
delegateFactory
- Mappings:
Namespace Name Mixin selector official a
Lfdc;a:Lfdc$a;
intermediary field_22443
Lnet/minecraft/class_4856;field_22443:Lnet/minecraft/class_4856$class_4857;
named delegateFactory
Lnet/minecraft/client/sound/RepeatingAudioStream;delegateFactory:Lnet/minecraft/client/sound/RepeatingAudioStream$DelegateFactory;
-
delegate
- Mappings:
Namespace Name Mixin selector official b
Lfdc;b:Lfda;
intermediary field_22444
Lnet/minecraft/class_4856;field_22444:Lnet/minecraft/class_4234;
named delegate
Lnet/minecraft/client/sound/RepeatingAudioStream;delegate:Lnet/minecraft/client/sound/AudioStream;
-
inputStream
- Mappings:
Namespace Name Mixin selector official c
Lfdc;c:Ljava/io/BufferedInputStream;
intermediary field_22445
Lnet/minecraft/class_4856;field_22445:Ljava/io/BufferedInputStream;
named inputStream
Lnet/minecraft/client/sound/RepeatingAudioStream;inputStream:Ljava/io/BufferedInputStream;
-
-
Constructor Details
-
RepeatingAudioStream
public RepeatingAudioStream(RepeatingAudioStream.DelegateFactory delegateFactory, InputStream inputStream) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector official <init>
Lfdc;<init>(Lfdc$a;Ljava/io/InputStream;)V
intermediary <init>
Lnet/minecraft/class_4856;<init>(Lnet/minecraft/class_4856$class_4857;Ljava/io/InputStream;)V
named <init>
Lnet/minecraft/client/sound/RepeatingAudioStream;<init>(Lnet/minecraft/client/sound/RepeatingAudioStream$DelegateFactory;Ljava/io/InputStream;)V
-
-
Method Details
-
getFormat
- Specified by:
getFormat
in interfaceAudioStream
- Mappings:
Namespace Name Mixin selector official a
Lfda;a()Ljavax/sound/sampled/AudioFormat;
intermediary method_19719
Lnet/minecraft/class_4234;method_19719()Ljavax/sound/sampled/AudioFormat;
named getFormat
Lnet/minecraft/client/sound/AudioStream;getFormat()Ljavax/sound/sampled/AudioFormat;
-
getBuffer
- Specified by:
getBuffer
in interfaceAudioStream
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lfda;a(I)Ljava/nio/ByteBuffer;
intermediary method_19720
Lnet/minecraft/class_4234;method_19720(I)Ljava/nio/ByteBuffer;
named getBuffer
Lnet/minecraft/client/sound/AudioStream;getBuffer(I)Ljava/nio/ByteBuffer;
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-