Package net.minecraft.client.sound
Class OggAudioStream
java.lang.Object
net.minecraft.client.sound.OggAudioStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,AudioStream
,BufferedAudioStream
,NonRepeatingAudioStream
- Mappings:
Namespace Name named net/minecraft/client/sound/OggAudioStream
intermediary net/minecraft/class_4228
official guy
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.jcraft.jorbis.Block
private final com.jcraft.jorbis.DspState
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private long
private long
private final AudioFormat
private final com.jcraft.jorbis.Info
private final InputStream
private final com.jcraft.jogg.Packet
private final com.jcraft.jogg.Page
private final com.jcraft.jogg.StreamState
private final com.jcraft.jogg.SyncState
Fields inherited from interface net.minecraft.client.sound.BufferedAudioStream
CHUNK_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private static boolean
isError
(int code) private static void
method_59760
(float[] float2, int int2, long long2, FloatConsumer floatConsumer) private static void
method_59761
(float[] float2, int int2, float[] float3, int int3, long long2, FloatConsumer floatConsumer) private static void
method_59762
(float[][] float2, int int2, int[] int3, long long2, FloatConsumer floatConsumer) private long
method_59765
(int int2) private boolean
read()
boolean
read
(FloatConsumer consumer) private com.jcraft.jogg.Packet
readIdentificationPacket
(com.jcraft.jogg.Page page) private @Nullable com.jcraft.jogg.Packet
private @Nullable com.jcraft.jogg.Page
readPage()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.sound.BufferedAudioStream
read, readAll
-
Field Details
-
field_51442
private static final int field_51442- See Also:
- Mappings:
Namespace Name Mixin selector named field_51442
Lnet/minecraft/client/sound/OggAudioStream;field_51442:I
intermediary field_51442
Lnet/minecraft/class_4228;field_51442:I
official b
Lguy;b:I
-
field_51443
private static final int field_51443- See Also:
- Mappings:
Namespace Name Mixin selector named field_51443
Lnet/minecraft/client/sound/OggAudioStream;field_51443:I
intermediary field_51443
Lnet/minecraft/class_4228;field_51443:I
official c
Lguy;c:I
-
field_51444
private static final int field_51444- See Also:
- Mappings:
Namespace Name Mixin selector named field_51444
Lnet/minecraft/client/sound/OggAudioStream;field_51444:I
intermediary field_51444
Lnet/minecraft/class_4228;field_51444:I
official d
Lguy;d:I
-
field_51445
private static final int field_51445- See Also:
- Mappings:
Namespace Name Mixin selector named field_51445
Lnet/minecraft/client/sound/OggAudioStream;field_51445:I
intermediary field_51445
Lnet/minecraft/class_4228;field_51445:I
official e
Lguy;e:I
-
field_51446
private static final int field_51446- See Also:
- Mappings:
Namespace Name Mixin selector named field_51446
Lnet/minecraft/client/sound/OggAudioStream;field_51446:I
intermediary field_51446
Lnet/minecraft/class_4228;field_51446:I
official f
Lguy;f:I
-
field_51447
private static final int field_51447- See Also:
- Mappings:
Namespace Name Mixin selector named field_51447
Lnet/minecraft/client/sound/OggAudioStream;field_51447:I
intermediary field_51447
Lnet/minecraft/class_4228;field_51447:I
official g
Lguy;g:I
-
field_51448
private static final int field_51448- See Also:
- Mappings:
Namespace Name Mixin selector named field_51448
Lnet/minecraft/client/sound/OggAudioStream;field_51448:I
intermediary field_51448
Lnet/minecraft/class_4228;field_51448:I
official h
Lguy;h:I
-
syncState
private final com.jcraft.jogg.SyncState syncState- Mappings:
Namespace Name Mixin selector named syncState
Lnet/minecraft/client/sound/OggAudioStream;syncState:Lcom/jcraft/jogg/SyncState;
intermediary field_51449
Lnet/minecraft/class_4228;field_51449:Lcom/jcraft/jogg/SyncState;
official i
Lguy;i:Lcom/jcraft/jogg/SyncState;
-
page
private final com.jcraft.jogg.Page page- Mappings:
Namespace Name Mixin selector named page
Lnet/minecraft/client/sound/OggAudioStream;page:Lcom/jcraft/jogg/Page;
intermediary field_51450
Lnet/minecraft/class_4228;field_51450:Lcom/jcraft/jogg/Page;
official j
Lguy;j:Lcom/jcraft/jogg/Page;
-
streamState
private final com.jcraft.jogg.StreamState streamState- Mappings:
Namespace Name Mixin selector named streamState
Lnet/minecraft/client/sound/OggAudioStream;streamState:Lcom/jcraft/jogg/StreamState;
intermediary field_51451
Lnet/minecraft/class_4228;field_51451:Lcom/jcraft/jogg/StreamState;
official k
Lguy;k:Lcom/jcraft/jogg/StreamState;
-
packet
private final com.jcraft.jogg.Packet packet- Mappings:
Namespace Name Mixin selector named packet
Lnet/minecraft/client/sound/OggAudioStream;packet:Lcom/jcraft/jogg/Packet;
intermediary field_51452
Lnet/minecraft/class_4228;field_51452:Lcom/jcraft/jogg/Packet;
official l
Lguy;l:Lcom/jcraft/jogg/Packet;
-
info
private final com.jcraft.jorbis.Info info- Mappings:
Namespace Name Mixin selector named info
Lnet/minecraft/client/sound/OggAudioStream;info:Lcom/jcraft/jorbis/Info;
intermediary field_51453
Lnet/minecraft/class_4228;field_51453:Lcom/jcraft/jorbis/Info;
official m
Lguy;m:Lcom/jcraft/jorbis/Info;
-
dspState
private final com.jcraft.jorbis.DspState dspState- Mappings:
Namespace Name Mixin selector named dspState
Lnet/minecraft/client/sound/OggAudioStream;dspState:Lcom/jcraft/jorbis/DspState;
intermediary field_51454
Lnet/minecraft/class_4228;field_51454:Lcom/jcraft/jorbis/DspState;
official n
Lguy;n:Lcom/jcraft/jorbis/DspState;
-
block
private final com.jcraft.jorbis.Block block- Mappings:
Namespace Name Mixin selector named block
Lnet/minecraft/client/sound/OggAudioStream;block:Lcom/jcraft/jorbis/Block;
intermediary field_51455
Lnet/minecraft/class_4228;field_51455:Lcom/jcraft/jorbis/Block;
official o
Lguy;o:Lcom/jcraft/jorbis/Block;
-
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 p
Lguy;p: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 q
Lguy;q:Ljava/io/InputStream;
-
field_51456
private long field_51456- Mappings:
Namespace Name Mixin selector named field_51456
Lnet/minecraft/client/sound/OggAudioStream;field_51456:J
intermediary field_51456
Lnet/minecraft/class_4228;field_51456:J
official r
Lguy;r:J
-
field_51457
private long field_51457- Mappings:
Namespace Name Mixin selector named field_51457
Lnet/minecraft/client/sound/OggAudioStream;field_51457:J
intermediary field_51457
Lnet/minecraft/class_4228;field_51457:J
official s
Lguy;s:J
-
-
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>
Lguy;<init>(Ljava/io/InputStream;)V
-
-
Method Details
-
isError
private static boolean isError(int code) - Mappings:
Namespace Name Mixin selector named isError
Lnet/minecraft/client/sound/OggAudioStream;isError(I)Z
intermediary method_59763
Lnet/minecraft/class_4228;method_59763(I)Z
official b
Lguy;b(I)Z
-
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
Lgut;a()Ljavax/sound/sampled/AudioFormat;
-
read
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named read
Lnet/minecraft/client/sound/OggAudioStream;read()Z
intermediary method_59764
Lnet/minecraft/class_4228;method_59764()Z
official c
Lguy;c()Z
-
readPage
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named readPage
Lnet/minecraft/client/sound/OggAudioStream;readPage()Lcom/jcraft/jogg/Page;
intermediary method_59766
Lnet/minecraft/class_4228;method_59766()Lcom/jcraft/jogg/Page;
official d
Lguy;d()Lcom/jcraft/jogg/Page;
-
readIdentificationPacket
private com.jcraft.jogg.Packet readIdentificationPacket(com.jcraft.jogg.Page page) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector named readIdentificationPacket
Lnet/minecraft/client/sound/OggAudioStream;readIdentificationPacket(Lcom/jcraft/jogg/Page;)Lcom/jcraft/jogg/Packet;
intermediary method_59759
Lnet/minecraft/class_4228;method_59759(Lcom/jcraft/jogg/Page;)Lcom/jcraft/jogg/Packet;
official a
Lguy;a(Lcom/jcraft/jogg/Page;)Lcom/jcraft/jogg/Packet;
-
readPacket
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named readPacket
Lnet/minecraft/client/sound/OggAudioStream;readPacket()Lcom/jcraft/jogg/Packet;
intermediary method_59767
Lnet/minecraft/class_4228;method_59767()Lcom/jcraft/jogg/Packet;
official e
Lguy;e()Lcom/jcraft/jogg/Packet;
-
method_59765
private long method_59765(int int2) - Mappings:
Namespace Name Mixin selector named method_59765
Lnet/minecraft/client/sound/OggAudioStream;method_59765(I)J
intermediary method_59765
Lnet/minecraft/class_4228;method_59765(I)J
official c
Lguy;c(I)J
-
read
- Specified by:
read
in interfaceBufferedAudioStream
- 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
Lgux;a(Lit/unimi/dsi/fastutil/floats/FloatConsumer;)Z
-
method_59762
private static void method_59762(float[][] float2, int int2, int[] int3, long long2, FloatConsumer floatConsumer) - Mappings:
Namespace Name Mixin selector named method_59762
Lnet/minecraft/client/sound/OggAudioStream;method_59762([[FI[IJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
intermediary method_59762
Lnet/minecraft/class_4228;method_59762([[FI[IJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
official a
Lguy;a([[FI[IJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
-
method_59760
- Mappings:
Namespace Name Mixin selector named method_59760
Lnet/minecraft/client/sound/OggAudioStream;method_59760([FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
intermediary method_59760
Lnet/minecraft/class_4228;method_59760([FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
official a
Lguy;a([FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
-
method_59761
private static void method_59761(float[] float2, int int2, float[] float3, int int3, long long2, FloatConsumer floatConsumer) - Mappings:
Namespace Name Mixin selector named method_59761
Lnet/minecraft/client/sound/OggAudioStream;method_59761([FI[FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
intermediary method_59761
Lnet/minecraft/class_4228;method_59761([FI[FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
official a
Lguy;a([FI[FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-