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 TypeMethodDescriptionint
void
close()
@NotNull AudioFormat
int
read()
int
read
(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:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
getFormat
- Specified by:
getFormat
in interfacenet.minecraft.client.sounds.AudioStream
-
read
- Specified by:
read
in interfacenet.minecraft.client.sounds.AudioStream
- Throws:
IOException
-