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/OggAudioStreamintermediary net/minecraft/class_4228official hcy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.jcraft.jorbis.Blockprivate final com.jcraft.jorbis.DspStateprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate longprivate longprivate final AudioFormatprivate final com.jcraft.jorbis.Infoprivate final InputStreamprivate final com.jcraft.jogg.Packetprivate final com.jcraft.jogg.Pageprivate final com.jcraft.jogg.StreamStateprivate final com.jcraft.jogg.SyncStateFields inherited from interface net.minecraft.client.sound.BufferedAudioStream
CHUNK_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private static booleanisError(int code) private static voidmethod_59760(float[] float2, int int2, long long2, FloatConsumer floatConsumer) private static voidmethod_59761(float[] float2, int int2, float[] float3, int int3, long long2, FloatConsumer floatConsumer) private static voidmethod_59762(float[][] float2, int int2, int[] int3, long long2, FloatConsumer floatConsumer) private longmethod_59765(int int2) private booleanread()booleanread(FloatConsumer consumer) private com.jcraft.jogg.PacketreadIdentificationPacket(com.jcraft.jogg.Page page) private @Nullable com.jcraft.jogg.Packetprivate @Nullable com.jcraft.jogg.PagereadPage()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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_51442Lnet/minecraft/client/sound/OggAudioStream;field_51442:Iintermediary field_51442Lnet/minecraft/class_4228;field_51442:Iofficial bLhcy;b:I
-
field_51443
private static final int field_51443- See Also:
- Mappings:
Namespace Name Mixin selector named field_51443Lnet/minecraft/client/sound/OggAudioStream;field_51443:Iintermediary field_51443Lnet/minecraft/class_4228;field_51443:Iofficial cLhcy;c:I
-
field_51444
private static final int field_51444- See Also:
- Mappings:
Namespace Name Mixin selector named field_51444Lnet/minecraft/client/sound/OggAudioStream;field_51444:Iintermediary field_51444Lnet/minecraft/class_4228;field_51444:Iofficial dLhcy;d:I
-
field_51445
private static final int field_51445- See Also:
- Mappings:
Namespace Name Mixin selector named field_51445Lnet/minecraft/client/sound/OggAudioStream;field_51445:Iintermediary field_51445Lnet/minecraft/class_4228;field_51445:Iofficial eLhcy;e:I
-
field_51446
private static final int field_51446- See Also:
- Mappings:
Namespace Name Mixin selector named field_51446Lnet/minecraft/client/sound/OggAudioStream;field_51446:Iintermediary field_51446Lnet/minecraft/class_4228;field_51446:Iofficial fLhcy;f:I
-
field_51447
private static final int field_51447- See Also:
- Mappings:
Namespace Name Mixin selector named field_51447Lnet/minecraft/client/sound/OggAudioStream;field_51447:Iintermediary field_51447Lnet/minecraft/class_4228;field_51447:Iofficial gLhcy;g:I
-
field_51448
private static final int field_51448- See Also:
- Mappings:
Namespace Name Mixin selector named field_51448Lnet/minecraft/client/sound/OggAudioStream;field_51448:Iintermediary field_51448Lnet/minecraft/class_4228;field_51448:Iofficial hLhcy;h:I
-
syncState
private final com.jcraft.jogg.SyncState syncState- Mappings:
Namespace Name Mixin selector named syncStateLnet/minecraft/client/sound/OggAudioStream;syncState:Lcom/jcraft/jogg/SyncState;intermediary field_51449Lnet/minecraft/class_4228;field_51449:Lcom/jcraft/jogg/SyncState;official iLhcy;i:Lcom/jcraft/jogg/SyncState;
-
page
private final com.jcraft.jogg.Page page- Mappings:
Namespace Name Mixin selector named pageLnet/minecraft/client/sound/OggAudioStream;page:Lcom/jcraft/jogg/Page;intermediary field_51450Lnet/minecraft/class_4228;field_51450:Lcom/jcraft/jogg/Page;official jLhcy;j:Lcom/jcraft/jogg/Page;
-
streamState
private final com.jcraft.jogg.StreamState streamState- Mappings:
Namespace Name Mixin selector named streamStateLnet/minecraft/client/sound/OggAudioStream;streamState:Lcom/jcraft/jogg/StreamState;intermediary field_51451Lnet/minecraft/class_4228;field_51451:Lcom/jcraft/jogg/StreamState;official kLhcy;k:Lcom/jcraft/jogg/StreamState;
-
packet
private final com.jcraft.jogg.Packet packet- Mappings:
Namespace Name Mixin selector named packetLnet/minecraft/client/sound/OggAudioStream;packet:Lcom/jcraft/jogg/Packet;intermediary field_51452Lnet/minecraft/class_4228;field_51452:Lcom/jcraft/jogg/Packet;official lLhcy;l:Lcom/jcraft/jogg/Packet;
-
info
private final com.jcraft.jorbis.Info info- Mappings:
Namespace Name Mixin selector named infoLnet/minecraft/client/sound/OggAudioStream;info:Lcom/jcraft/jorbis/Info;intermediary field_51453Lnet/minecraft/class_4228;field_51453:Lcom/jcraft/jorbis/Info;official mLhcy;m:Lcom/jcraft/jorbis/Info;
-
dspState
private final com.jcraft.jorbis.DspState dspState- Mappings:
Namespace Name Mixin selector named dspStateLnet/minecraft/client/sound/OggAudioStream;dspState:Lcom/jcraft/jorbis/DspState;intermediary field_51454Lnet/minecraft/class_4228;field_51454:Lcom/jcraft/jorbis/DspState;official nLhcy;n:Lcom/jcraft/jorbis/DspState;
-
block
private final com.jcraft.jorbis.Block block- Mappings:
Namespace Name Mixin selector named blockLnet/minecraft/client/sound/OggAudioStream;block:Lcom/jcraft/jorbis/Block;intermediary field_51455Lnet/minecraft/class_4228;field_51455:Lcom/jcraft/jorbis/Block;official oLhcy;o:Lcom/jcraft/jorbis/Block;
-
format
- Mappings:
Namespace Name Mixin selector named formatLnet/minecraft/client/sound/OggAudioStream;format:Ljavax/sound/sampled/AudioFormat;intermediary field_18908Lnet/minecraft/class_4228;field_18908:Ljavax/sound/sampled/AudioFormat;official pLhcy;p:Ljavax/sound/sampled/AudioFormat;
-
inputStream
- Mappings:
Namespace Name Mixin selector named inputStreamLnet/minecraft/client/sound/OggAudioStream;inputStream:Ljava/io/InputStream;intermediary field_18909Lnet/minecraft/class_4228;field_18909:Ljava/io/InputStream;official qLhcy;q:Ljava/io/InputStream;
-
field_51456
private long field_51456- Mappings:
Namespace Name Mixin selector named field_51456Lnet/minecraft/client/sound/OggAudioStream;field_51456:Jintermediary field_51456Lnet/minecraft/class_4228;field_51456:Jofficial rLhcy;r:J
-
field_51457
private long field_51457- Mappings:
Namespace Name Mixin selector named field_51457Lnet/minecraft/client/sound/OggAudioStream;field_51457:Jintermediary field_51457Lnet/minecraft/class_4228;field_51457:Jofficial sLhcy;s:J
-
-
Constructor Details
-
OggAudioStream
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/sound/OggAudioStream;<init>(Ljava/io/InputStream;)Vintermediary <init>Lnet/minecraft/class_4228;<init>(Ljava/io/InputStream;)Vofficial <init>Lhcy;<init>(Ljava/io/InputStream;)V
-
-
Method Details
-
isError
private static boolean isError(int code) - Mappings:
Namespace Name Mixin selector named isErrorLnet/minecraft/client/sound/OggAudioStream;isError(I)Zintermediary method_59763Lnet/minecraft/class_4228;method_59763(I)Zofficial bLhcy;b(I)Z
-
getFormat
- Specified by:
getFormatin interfaceAudioStream- Mappings:
Namespace Name Mixin selector named getFormatLnet/minecraft/client/sound/AudioStream;getFormat()Ljavax/sound/sampled/AudioFormat;intermediary method_19719Lnet/minecraft/class_4234;method_19719()Ljavax/sound/sampled/AudioFormat;official aLhct;a()Ljavax/sound/sampled/AudioFormat;
-
read
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named readLnet/minecraft/client/sound/OggAudioStream;read()Zintermediary method_59764Lnet/minecraft/class_4228;method_59764()Zofficial cLhcy;c()Z
-
readPage
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named readPageLnet/minecraft/client/sound/OggAudioStream;readPage()Lcom/jcraft/jogg/Page;intermediary method_59766Lnet/minecraft/class_4228;method_59766()Lcom/jcraft/jogg/Page;official dLhcy;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 readIdentificationPacketLnet/minecraft/client/sound/OggAudioStream;readIdentificationPacket(Lcom/jcraft/jogg/Page;)Lcom/jcraft/jogg/Packet;intermediary method_59759Lnet/minecraft/class_4228;method_59759(Lcom/jcraft/jogg/Page;)Lcom/jcraft/jogg/Packet;official aLhcy;a(Lcom/jcraft/jogg/Page;)Lcom/jcraft/jogg/Packet;
-
readPacket
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named readPacketLnet/minecraft/client/sound/OggAudioStream;readPacket()Lcom/jcraft/jogg/Packet;intermediary method_59767Lnet/minecraft/class_4228;method_59767()Lcom/jcraft/jogg/Packet;official eLhcy;e()Lcom/jcraft/jogg/Packet;
-
method_59765
private long method_59765(int int2) - Mappings:
Namespace Name Mixin selector named method_59765Lnet/minecraft/client/sound/OggAudioStream;method_59765(I)Jintermediary method_59765Lnet/minecraft/class_4228;method_59765(I)Jofficial cLhcy;c(I)J
-
read
- Specified by:
readin interfaceBufferedAudioStream- Throws:
IOException- Mappings:
Namespace Name Mixin selector named readLnet/minecraft/client/sound/BufferedAudioStream;read(Lit/unimi/dsi/fastutil/floats/FloatConsumer;)Zintermediary method_59758Lnet/minecraft/class_9673;method_59758(Lit/unimi/dsi/fastutil/floats/FloatConsumer;)Zofficial aLhcx;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_59762Lnet/minecraft/client/sound/OggAudioStream;method_59762([[FI[IJLit/unimi/dsi/fastutil/floats/FloatConsumer;)Vintermediary method_59762Lnet/minecraft/class_4228;method_59762([[FI[IJLit/unimi/dsi/fastutil/floats/FloatConsumer;)Vofficial aLhcy;a([[FI[IJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
-
method_59760
- Mappings:
Namespace Name Mixin selector named method_59760Lnet/minecraft/client/sound/OggAudioStream;method_59760([FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)Vintermediary method_59760Lnet/minecraft/class_4228;method_59760([FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)Vofficial aLhcy;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_59761Lnet/minecraft/client/sound/OggAudioStream;method_59761([FI[FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)Vintermediary method_59761Lnet/minecraft/class_4228;method_59761([FI[FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)Vofficial aLhcy;a([FI[FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-