com.mojang.blaze3d.audio

public class SoundBuffer

cwu
com.mojang.blaze3d.audio.SoundBuffer
net.minecraft.class_4231
net.minecraft.client.sound.StaticSound
net.minecraft.client.audio.AudioStreamBuffer

字段概要

修饰符与类型字段
private ByteBuffer
a
data
field_18916
sample
field_216475_a
private final AudioFormat
b
format
field_18917
format
field_216476_b
private boolean
c
hasAlBuffer
field_18918
hasBuffer
field_216477_c
private int
d
alBuffer
field_18919
streamBufferPointer
field_216478_d

构造函数概要

修饰符构造函数
public (ByteBuffer sample, AudioFormat format)

方法概要

修饰符与类型方法
OptionalInt
a()
getAlBuffer()
method_19686()
getStreamBufferPointer()
func_216473_a()
public void
b()
discardAlBuffer()
method_19687()
close()
func_216474_b()
public OptionalInt
c()
releaseAlBuffer()
method_19688()
takeStreamBufferPointer()
func_216472_c()