Package net.minecraft.client.sounds
Interface LoopingAudioStream.AudioStreamProvider
- Enclosing class:
LoopingAudioStream
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for providing an AudioStream from an InputStream.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(InputStream pInputStream) Creates an AudioStream from the specified InputStream.
-
Method Details
-
create
Creates an AudioStream from the specified InputStream.- Parameters:
pInputStream
- the input stream to create the AudioStream from- Returns:
- the created AudioStream
- Throws:
IOException
- if an I/O error occurs while creating the AudioStream
-