Class LoopingAudioStream
java.lang.Object
net.minecraft.client.sounds.LoopingAudioStream
- All Implemented Interfaces:
Closeable, AutoCloseable, AudioStream
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BufferedInputStreamprivate final LoopingAudioStream.AudioStreamProviderprivate AudioStream -
Constructor Summary
ConstructorsConstructorDescriptionLoopingAudioStream(LoopingAudioStream.AudioStreamProvider provider, InputStream originalInputStream) -
Method Summary
-
Field Details
-
provider
-
stream
-
bufferedInputStream
-
-
Constructor Details
-
LoopingAudioStream
public LoopingAudioStream(LoopingAudioStream.AudioStreamProvider provider, InputStream originalInputStream) throws IOException - Throws:
IOException
-
-
Method Details
-
getFormat
- Specified by:
getFormatin interfaceAudioStream
-
read
- Specified by:
readin interfaceAudioStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-