Package net.minecraft.client.sounds
Class LoopingAudioStream
java.lang.Object
net.minecraft.client.sounds.LoopingAudioStream
- All Implemented Interfaces:
Closeable,AutoCloseable,AudioStream
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BufferedInputStreamprivate final LoopingAudioStream.AudioStreamProviderprivate AudioStream -
Constructor Summary
ConstructorsConstructorDescriptionLoopingAudioStream(LoopingAudioStream.AudioStreamProvider p_120163_, InputStream p_120164_) -
Method Summary
-
Field Details
-
provider
-
stream
-
bufferedInputStream
-
-
Constructor Details
-
LoopingAudioStream
public LoopingAudioStream(LoopingAudioStream.AudioStreamProvider p_120163_, InputStream p_120164_) 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
-