Package net.minecraft.client.sound
Class StaticSound
java.lang.Object
net.minecraft.client.sound.StaticSound
@Environment(CLIENT) public class StaticSound extends Object
-
Field Summary
Fields Modifier and Type Field Description private AudioFormat
format
private boolean
hasBuffer
private ByteBuffer
sample
private int
streamBufferPointer
-
Constructor Summary
Constructors Constructor Description StaticSound(ByteBuffer sample, AudioFormat format)
-
Method Summary
Modifier and Type Method Description void
close()
(package private) OptionalInt
getStreamBufferPointer()
OptionalInt
takeStreamBufferPointer()
-
Field Details
-
sample
-
format
-
hasBuffer
private boolean hasBuffer -
streamBufferPointer
private int streamBufferPointer
-
-
Constructor Details
-
StaticSound
-
-
Method Details
-
getStreamBufferPointer
OptionalInt getStreamBufferPointer() -
close
public void close() -
takeStreamBufferPointer
-