com.mojang.blaze3d.audio

public class Channel

dxo
com.mojang.blaze3d.audio.Channel
net.minecraft.class_4224
net.minecraft.client.sound.Source
net.minecraft.src.C_3084_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_18892
LOGGER
f_83641_
private static final int
c
QUEUED_BUFFER_COUNT
field_31895
field_31895
f_166125_
public static final int
a
BUFFER_DURATION_SECONDS
field_31894
field_31894
f_166124_
private final int
d
source
field_18893
pointer
f_83642_
private final AtomicBoolean
e
initialized
field_18894
playing
f_83643_
private int
f
streamingBufferSize
field_18895
bufferSize
f_83644_
private AudioStream
g
stream
field_18896
stream
f_83645_

Constructor summary

ModifierConstructor
private (int pointer)

Method summary

Modifier and TypeMethod
static Channel
a()
create()
method_19638()
create()
m_83649_()
public void
b()
destroy()
method_19646()
close()
m_83665_()
public void
c()
play()
method_19650()
play()
m_83672_()
private int
k()
getState()
method_19659()
getSourceState()
m_83683_()
public void
d()
pause()
method_19653()
pause()
m_83677_()
public void
e()
unpause()
method_19654()
resume()
m_83678_()
public void
f()
stop()
method_19655()
stop()
m_83679_()
public boolean
g()
playing()
method_35598()
isPlaying()
m_166126_()
public boolean
h()
stopped()
method_19656()
isStopped()
m_83680_()
public void
a(dvt arg0)
setSelfPosition(Vec3 arg0)
method_19641(class_243 arg0)
setPosition(Vec3d pos)
m_83654_(C_3046_ arg0)
public void
a(float arg0)
setPitch(float arg0)
method_19639(float arg0)
setPitch(float pitch)
m_83650_(float arg0)
public void
a(boolean arg0)
setLooping(boolean arg0)
method_19645(boolean arg0)
setLooping(boolean looping)
m_83663_(boolean arg0)
public void
b(float arg0)
setVolume(float arg0)
method_19647(float arg0)
setVolume(float volume)
m_83666_(float arg0)
public void
i()
disableAttenuation()
method_19657()
disableAttenuation()
m_83681_()
public void
c(float arg0)
linearAttenuation(float arg0)
method_19651(float arg0)
setAttenuation(float attenuation)
m_83673_(float arg0)
public void
b(boolean arg0)
setRelative(boolean arg0)
method_19649(boolean arg0)
setRelative(boolean relative)
m_83670_(boolean arg0)
public void
a(dxt arg0)
attachStaticBuffer(SoundBuffer arg0)
method_19642(class_4231 arg0)
setBuffer(StaticSound sound)
m_83656_(C_3094_ arg0)
public void
a(flt arg0)
attachBufferStream(AudioStream arg0)
method_19643(class_4234 arg0)
setStream(AudioStream stream)
m_83658_(C_4591_ arg0)
private static int
a(AudioFormat arg0, int arg1)
calculateBufferSize(AudioFormat arg0, int arg1)
method_19644(AudioFormat arg0, int arg1)
getBufferSize(AudioFormat format, int time)
m_83660_(AudioFormat p_83661_, int p_83662_)
private void
a(int arg0)
pumpBuffers(int arg0)
method_19640(int arg0)
read(int count)
m_83652_(int arg0)
public void
j()
updateStream()
method_19658()
tick()
m_83682_()
private int
l()
removeProcessedBuffers()
method_19660()
removeProcessedBuffers()
m_83684_()