com.mojang.blaze3d.audio

public class SoundBuffer

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

Field summary

Modifier and TypeField
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

Constructor summary

ModifierConstructor
public (ByteBuffer sample, AudioFormat format)

Method summary

Modifier and TypeMethod
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()