Package net.minecraft.client.sounds
Interface FloatSampleSource
- All Superinterfaces:
AudioStream
,AutoCloseable
,Closeable
,FiniteAudioStream
- All Known Implementing Classes:
JOrbisAudioStream
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault ByteBuffer
read
(int p_332929_) default ByteBuffer
readAll()
boolean
readChunk
(it.unimi.dsi.fastutil.floats.FloatConsumer p_328436_) Methods inherited from interface net.minecraft.client.sounds.AudioStream
getFormat
-
Field Details
-
EXPECTED_MAX_FRAME_SIZE
static final int EXPECTED_MAX_FRAME_SIZE- See Also:
-
-
Method Details
-
readChunk
- Throws:
IOException
-
read
- Specified by:
read
in interfaceAudioStream
- Throws:
IOException
-
readAll
- Specified by:
readAll
in interfaceFiniteAudioStream
- Throws:
IOException
-