com.mojang.blaze3d.audio

public class Channel

fee
com.mojang.blaze3d.audio.Channel
net.minecraft.class_4224
net.minecraft.client.sound.Source

Field summary

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

Constructor summary

ModifierConstructor
private (int pointer)

Method summary

Modifier and TypeMethod
static Channel
a()
create()
method_19638()
create()
public void
b()
destroy()
method_19646()
close()
public void
c()
play()
method_19650()
play()
private int
k()
getState()
method_19659()
getSourceState()
public void
d()
pause()
method_19653()
pause()
public void
e()
unpause()
method_19654()
resume()
public void
f()
stop()
method_19655()
stop()
public boolean
g()
playing()
method_35598()
isPlaying()
public boolean
h()
stopped()
method_19656()
isStopped()
public void
a(fby arg0)
setSelfPosition(Vec3 arg0)
method_19641(class_243 arg0)
setPosition(Vec3d pos)
public void
a(float arg0)
setPitch(float arg0)
method_19639(float arg0)
setPitch(float pitch)
public void
a(boolean arg0)
setLooping(boolean arg0)
method_19645(boolean arg0)
setLooping(boolean looping)
public void
b(float arg0)
setVolume(float arg0)
method_19647(float arg0)
setVolume(float volume)
public void
i()
disableAttenuation()
method_19657()
disableAttenuation()
public void
c(float arg0)
linearAttenuation(float arg0)
method_19651(float arg0)
setAttenuation(float attenuation)
public void
b(boolean arg0)
setRelative(boolean arg0)
method_19649(boolean arg0)
setRelative(boolean relative)
public void
a(fej arg0)
attachStaticBuffer(SoundBuffer arg0)
method_19642(class_4231 arg0)
setBuffer(StaticSound sound)
public void
a(hgb arg0)
attachBufferStream(AudioStream arg0)
method_19643(class_4234 arg0)
setStream(AudioStream stream)
private static int
a(AudioFormat arg0, int arg1)
calculateBufferSize(AudioFormat arg0, int arg1)
method_19644(AudioFormat arg0, int arg1)
getBufferSize(AudioFormat format, int time)
private void
a(int arg0)
pumpBuffers(int arg0)
method_19640(int arg0)
read(int count)
public void
j()
updateStream()
method_19658()
tick()
private int
l()
removeProcessedBuffers()
method_19660()
removeProcessedBuffers()