Package net.minecraft.client.sounds
Class LoopingAudioStream
java.lang.Object
net.minecraft.client.sounds.LoopingAudioStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,AudioStream
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
(package private) static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLoopingAudioStream(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:
getFormat
in interfaceAudioStream
-
read
- Specified by:
read
in interfaceAudioStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-