Package net.minecraft.client.audio
Class OggAudioStreamWrapper
java.lang.Object
net.minecraft.client.audio.OggAudioStreamWrapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
,IAudioStream
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BufferedInputStream
private final OggAudioStreamWrapper.IFactory
private IAudioStream
-
Constructor Summary
ConstructorDescriptionOggAudioStreamWrapper
(OggAudioStreamWrapper.IFactory p_i232496_1_, InputStream p_i232496_2_) -
Method Summary
-
Field Details
-
provider
-
stream
-
bufferedInputStream
-
-
Constructor Details
-
OggAudioStreamWrapper
public OggAudioStreamWrapper(OggAudioStreamWrapper.IFactory p_i232496_1_, InputStream p_i232496_2_) throws IOException - Throws:
IOException
-
-
Method Details
-
getFormat
- Specified by:
getFormat
in interfaceIAudioStream
-
read
- Specified by:
read
in interfaceIAudioStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-