Package net.minecraft.client.sound
Class OggAudioStream
java.lang.Object
net.minecraft.client.sound.OggAudioStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,AudioStream
- Mappings:
Namespace Name named net/minecraft/client/sound/OggAudioStream
intermediary net/minecraft/class_4228
official ewq
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ByteBuffer
private static final int
private final AudioFormat
private final InputStream
private long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getBuffer
(int size) private void
private void
readChannels
(FloatBuffer buf, FloatBuffer buf2, OggAudioStream.ChannelList channelList) private void
readChannels
(FloatBuffer buf, OggAudioStream.ChannelList channelList) private boolean
private boolean
readOggFile
(OggAudioStream.ChannelList channelList)
-
Field Details
-
BUFFER_SIZE
private static final int BUFFER_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named BUFFER_SIZE
Lnet/minecraft/client/sound/OggAudioStream;BUFFER_SIZE:I
intermediary field_31898
Lnet/minecraft/class_4228;field_31898:I
official a
Lewq;a:I
-
pointer
private long pointer- Mappings:
Namespace Name Mixin selector named pointer
Lnet/minecraft/client/sound/OggAudioStream;pointer:J
intermediary field_18907
Lnet/minecraft/class_4228;field_18907:J
official b
Lewq;b:J
-
format
- Mappings:
Namespace Name Mixin selector named format
Lnet/minecraft/client/sound/OggAudioStream;format:Ljavax/sound/sampled/AudioFormat;
intermediary field_18908
Lnet/minecraft/class_4228;field_18908:Ljavax/sound/sampled/AudioFormat;
official c
Lewq;c:Ljavax/sound/sampled/AudioFormat;
-
inputStream
- Mappings:
Namespace Name Mixin selector named inputStream
Lnet/minecraft/client/sound/OggAudioStream;inputStream:Ljava/io/InputStream;
intermediary field_18909
Lnet/minecraft/class_4228;field_18909:Ljava/io/InputStream;
official d
Lewq;d:Ljava/io/InputStream;
-
buffer
- Mappings:
Namespace Name Mixin selector named buffer
Lnet/minecraft/client/sound/OggAudioStream;buffer:Ljava/nio/ByteBuffer;
intermediary field_18910
Lnet/minecraft/class_4228;field_18910:Ljava/nio/ByteBuffer;
official e
Lewq;e:Ljava/nio/ByteBuffer;
-
-
Constructor Details
-
OggAudioStream
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/sound/OggAudioStream;<init>(Ljava/io/InputStream;)V
intermediary <init>
Lnet/minecraft/class_4228;<init>(Ljava/io/InputStream;)V
official <init>
Lewq;<init>(Ljava/io/InputStream;)V
-
-
Method Details
-
readHeader
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named readHeader
Lnet/minecraft/client/sound/OggAudioStream;readHeader()Z
intermediary method_19677
Lnet/minecraft/class_4228;method_19677()Z
official c
Lewq;c()Z
-
increaseBufferSize
private void increaseBufferSize()- Mappings:
Namespace Name Mixin selector named increaseBufferSize
Lnet/minecraft/client/sound/OggAudioStream;increaseBufferSize()V
intermediary method_19678
Lnet/minecraft/class_4228;method_19678()V
official d
Lewq;d()V
-
readOggFile
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named readOggFile
Lnet/minecraft/client/sound/OggAudioStream;readOggFile(Lnet/minecraft/client/sound/OggAudioStream$ChannelList;)Z
intermediary method_19674
Lnet/minecraft/class_4228;method_19674(Lnet/minecraft/class_4228$class_4229;)Z
official a
Lewq;a(Lewq$a;)Z
-
readChannels
- Mappings:
Namespace Name Mixin selector named readChannels
Lnet/minecraft/client/sound/OggAudioStream;readChannels(Ljava/nio/FloatBuffer;Lnet/minecraft/client/sound/OggAudioStream$ChannelList;)V
intermediary method_19675
Lnet/minecraft/class_4228;method_19675(Ljava/nio/FloatBuffer;Lnet/minecraft/class_4228$class_4229;)V
official a
Lewq;a(Ljava/nio/FloatBuffer;Lewq$a;)V
-
readChannels
private void readChannels(FloatBuffer buf, FloatBuffer buf2, OggAudioStream.ChannelList channelList) - Mappings:
Namespace Name Mixin selector named readChannels
Lnet/minecraft/client/sound/OggAudioStream;readChannels(Ljava/nio/FloatBuffer;Ljava/nio/FloatBuffer;Lnet/minecraft/client/sound/OggAudioStream$ChannelList;)V
intermediary method_19676
Lnet/minecraft/class_4228;method_19676(Ljava/nio/FloatBuffer;Ljava/nio/FloatBuffer;Lnet/minecraft/class_4228$class_4229;)V
official a
Lewq;a(Ljava/nio/FloatBuffer;Ljava/nio/FloatBuffer;Lewq$a;)V
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getFormat
- Specified by:
getFormat
in interfaceAudioStream
- Mappings:
Namespace Name Mixin selector named getFormat
Lnet/minecraft/client/sound/AudioStream;getFormat()Ljavax/sound/sampled/AudioFormat;
intermediary method_19719
Lnet/minecraft/class_4234;method_19719()Ljavax/sound/sampled/AudioFormat;
official a
Lgsf;a()Ljavax/sound/sampled/AudioFormat;
-
getBuffer
- Specified by:
getBuffer
in interfaceAudioStream
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named getBuffer
Lnet/minecraft/client/sound/AudioStream;getBuffer(I)Ljava/nio/ByteBuffer;
intermediary method_19720
Lnet/minecraft/class_4234;method_19720(I)Ljava/nio/ByteBuffer;
official a
Lgsf;a(I)Ljava/nio/ByteBuffer;
-
getBuffer
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named getBuffer
Lnet/minecraft/client/sound/OggAudioStream;getBuffer()Ljava/nio/ByteBuffer;
intermediary method_19721
Lnet/minecraft/class_4228;method_19721()Ljava/nio/ByteBuffer;
official b
Lewq;b()Ljava/nio/ByteBuffer;
-