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 AudioFormatformatprivate booleanhasBufferprivate ByteBuffersampleprivate intstreamBufferPointer -
Constructor Summary
Constructors Constructor Description StaticSound(ByteBuffer sample, AudioFormat format) -
Method Summary
Modifier and Type Method Description voidclose()(package private) OptionalIntgetStreamBufferPointer()OptionalInttakeStreamBufferPointer()
-
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
-