Package net.minecraft.client.audio
Class OggAudioStreamWrapper
java.lang.Object
net.minecraft.client.audio.OggAudioStreamWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable,IAudioStream
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BufferedInputStreamprivate final OggAudioStreamWrapper.IFactoryprivate IAudioStream -
Constructor Summary
ConstructorsConstructorDescriptionOggAudioStreamWrapper(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:
getFormatin interfaceIAudioStream
-
read
- Specified by:
readin interfaceIAudioStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-