com.mojang.blaze3d.audio

public class OggAudioStream

implements AudioStream

dxr
com.mojang.blaze3d.audio.OggAudioStream
net.minecraft.class_4228
net.minecraft.client.sound.OggAudioStream
net.minecraft.src.C_3091_

Field summary

Modifier and TypeField
private static final int
a
EXPECTED_MAX_FRAME_SIZE
field_31898
BUFFER_SIZE
f_166130_
private long
b
handle
field_18907
pointer
f_83746_
private final AudioFormat
c
audioFormat
field_18908
format
f_83747_
private final InputStream
d
input
field_18909
inputStream
f_83748_
private ByteBuffer
e
buffer
field_18910
buffer
f_83749_

Constructor summary

ModifierConstructor
public (InputStream inputStream)

Method summary

Modifier and TypeMethod
private boolean
c()
refillFromStream()
method_19677()
readHeader()
m_83765_()
private void
d()
forwardBuffer()
method_19678()
increaseBufferSize()
m_83767_()
private boolean
a(dxr$a arg0)
readFrame(OggAudioStream$OutputConcat arg0)
method_19674(class_4228$class_4229 arg0)
readOggFile(OggAudioStream$ChannelList channelList)
m_83755_(C_3092_ arg0)
private void
a(FloatBuffer arg0, dxr$a arg1)
convertMono(FloatBuffer arg0, OggAudioStream$OutputConcat arg1)
method_19675(FloatBuffer arg0, class_4228$class_4229 arg1)
readChannels(FloatBuffer buf, OggAudioStream$ChannelList channelList)
m_83757_(FloatBuffer p_83759_, C_3092_ arg1)
private void
a(FloatBuffer arg0, FloatBuffer arg1, dxr$a arg2)
convertStereo(FloatBuffer arg0, FloatBuffer arg1, OggAudioStream$OutputConcat arg2)
method_19676(FloatBuffer arg0, FloatBuffer arg1, class_4228$class_4229 arg2)
readChannels(FloatBuffer buf, FloatBuffer buf2, OggAudioStream$ChannelList channelList)
m_83760_(FloatBuffer p_83762_, FloatBuffer p_83763_, C_3092_ arg2)
public void
close()
close()
close()
public AudioFormat
a()
getFormat()
method_19719()
getFormat()
m_6206_()
public ByteBuffer
a(int arg0)
read(int arg0)
method_19720(int arg0)
getBuffer(int arg0)
m_7118_(int arg0)
public ByteBuffer
b()
readAll()
method_19721()
getBuffer()
m_83764_()