Class ImmediateAudioStream
java.lang.Object
at.petrak.paucal.xplat.common.sounds.ImmediateAudioStream
- All Implemented Interfaces:
Closeable,AutoCloseable,net.minecraft.client.sounds.AudioStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.client.sounds.JOrbisAudioStreamprotected ByteBuffer -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
backing
protected final net.minecraft.client.sounds.JOrbisAudioStream backing -
lazyRead
-
-
Constructor Details
-
ImmediateAudioStream
public ImmediateAudioStream(net.minecraft.client.sounds.JOrbisAudioStream backing)
-
-
Method Details
-
getFormat
- Specified by:
getFormatin interfacenet.minecraft.client.sounds.AudioStream
-
read
- Specified by:
readin interfacenet.minecraft.client.sounds.AudioStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-