Class EffectStream
java.lang.Object
com.codinglitch.simpleradio.client.core.central.EffectStream
- All Implemented Interfaces:
Closeable,AutoCloseable,net.minecraft.client.sounds.AudioStream
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEffectStream(InputStream inputStream) EffectStream(net.minecraft.client.sounds.AudioStream substream) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffect(ByteBuffer buffer, int size) voidclose()push(int size) read(int size) readAll()
-
Field Details
-
effect
-
-
Constructor Details
-
EffectStream
- Throws:
IOException
-
EffectStream
public EffectStream(net.minecraft.client.sounds.AudioStream substream)
-
-
Method Details
-
applyEffect
-
push
- Throws:
IOException
-
getFormat
- Specified by:
getFormatin interfacenet.minecraft.client.sounds.AudioStream
-
read
- Specified by:
readin interfacenet.minecraft.client.sounds.AudioStream- Throws:
IOException
-
readAll
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-