Class MP3AudioStream
java.lang.Object
java.io.InputStream
purplecreate.tramways.content.announcements.sound.MP3AudioStream
- All Implemented Interfaces:
Closeable,AutoCloseable,net.minecraft.client.sounds.AudioStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()@NotNull AudioFormatintread()intread(byte @NotNull [] bytes, int offset, int length) read(int size) Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
MP3AudioStream
- Throws:
IOException
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
getFormat
- Specified by:
getFormatin interfacenet.minecraft.client.sounds.AudioStream
-
read
- Specified by:
readin interfacenet.minecraft.client.sounds.AudioStream- Throws:
IOException
-