net.minecraft.client.sounds

public class SoundEngine

hgk
net.minecraft.client.sounds.SoundEngine
net.minecraft.class_1140
net.minecraft.client.sound.SoundSystem

Field summary

Modifier and TypeField
private static final org.slf4j.Marker
d
MARKER
field_5553
MARKER
private static final org.slf4j.Logger
e
LOGGER
field_5559
LOGGER
private static final float
f
PITCH_MIN
field_33021
MIN_PITCH
private static final float
g
PITCH_MAX
field_33022
MAX_PITCH
private static final float
h
VOLUME_MIN
field_33023
MIN_VOLUME
private static final float
i
VOLUME_MAX
field_33024
MAX_VOLUME
private static final int
j
MIN_SOURCE_LIFETIME
field_33025
field_33025
private static final Set<ResourceLocation>
k
ONLY_WARN_ONCE
field_5561
UNKNOWN_SOUNDS
private static final long
l
DEFAULT_DEVICE_CHECK_INTERVAL_MS
field_34966
MIN_TIME_INTERVAL_TO_RELOAD_SOUNDS
public static final String
a
MISSING_SOUND
field_33020
FOR_THE_DEBUG
public static final String
b
OPEN_AL_SOFT_PREFIX
field_34827
OPENAL_SOFT_ON
public static final int
c
OPEN_AL_SOFT_PREFIX_LENGTH
field_34828
OPENAL_SOFT_ON_LENGTH
private final SoundManager
m
soundManager
field_5552
loader
private final Options
n
options
field_5555
settings
private boolean
o
loaded
field_5563
started
private final Library
p
library
field_18945
soundEngine
private final Listener
q
listener
field_18946
listener
private final SoundBufferLibrary
r
soundBuffers
field_18947
soundLoader
private final SoundEngineExecutor
s
executor
field_18948
taskQueue
private final ChannelAccess
t
channelAccess
field_18949
channel
private int
u
tickCount
field_5550
ticks
private long
v
lastDeviceCheckTime
field_34967
lastSoundDeviceCheckTime
private final AtomicReference<SoundEngine$DeviceCheckState>
w
devicePoolState
field_35083
deviceChangeStatus
private final Map<SoundInstance, ChannelAccess$ChannelHandle>
x
instanceToChannel
field_18950
sources
private final com.google.common.collect.Multimap<SoundSource, SoundInstance>
y
instanceBySource
field_18951
sounds
private final List<TickableSoundInstance>
z
tickingSounds
field_5557
tickingSounds
private final Map<SoundInstance, Integer>
A
queuedSounds
field_5566
soundStartTicks
private final Map<SoundInstance, Integer>
B
soundDeleteTime
field_18952
soundEndTicks
private final List<SoundEventListener>
C
listeners
field_5558
listeners
private final List<TickableSoundInstance>
D
queuedTickableSounds
field_20532
soundsToPlayNextTick
private final List<Sound>
E
preloadQueue
field_5551
preloadedSounds

Constructor summary

ModifierConstructor
public (SoundManager loader, Options settings, ResourceProvider resourceFactory)

Method summary

Modifier and TypeMethod
public void
a()
reload()
method_4837()
reloadSounds()
private synchronized void
j()
loadLibrary()
method_4846()
start()
private float
a(axg arg0)
getVolume(SoundSource arg0)
method_4850(class_3419 arg0)
getSoundVolume(SoundCategory category)
public void
a(axg arg0, float arg1)
updateCategoryVolume(SoundSource arg0, float arg1)
method_4844(class_3419 arg0, float arg1)
updateSoundVolume(SoundCategory category, float volume)
public void
b()
destroy()
method_4856()
stop()
public void
c()
emergencyShutdown()
method_54648()
stopAbruptly()
public void
a(hfi arg0)
stop(SoundInstance arg0)
method_19753(class_1113 arg0)
stop(SoundInstance sound)
public void
d()
stopAll()
method_4843()
stopAll()
public void
a(hgm arg0)
addEventListener(SoundEventListener arg0)
method_4855(class_1145 arg0)
registerListener(SoundInstanceListener listener)
public void
b(hgm arg0)
removeEventListener(SoundEventListener arg0)
method_4847(class_1145 arg0)
unregisterListener(SoundInstanceListener listener)
private boolean
k()
shouldChangeDevice()
method_38744()
shouldReloadSounds()
public void
a(boolean arg0)
tick(boolean arg0)
method_20185(boolean arg0)
tick(boolean paused)
private void
l()
tickNonPaused()
method_4857()
tick()
private static boolean
d(hfi arg0)
requiresManualLooping(SoundInstance arg0)
method_24878(class_1113 arg0)
hasRepeatDelay(SoundInstance sound)
private static boolean
e(hfi arg0)
shouldLoopManually(SoundInstance arg0)
method_24879(class_1113 arg0)
shouldDelayRepeat(SoundInstance sound)
private static boolean
f(hfi arg0)
shouldLoopAutomatically(SoundInstance arg0)
method_24880(class_1113 arg0)
shouldRepeatInstantly(SoundInstance sound)
public boolean
b(hfi arg0)
isActive(SoundInstance arg0)
method_4835(class_1113 arg0)
isPlaying(SoundInstance sound)
public void
c(hfi arg0)
play(SoundInstance arg0)
method_4854(class_1113 arg0)
play(SoundInstance sound)
public void
a(hfj arg0)
queueTickingSound(TickableSoundInstance arg0)
method_22139(class_1117 arg0)
playNextTick(TickableSoundInstance sound)
public void
a(hff arg0)
requestPreload(Sound arg0)
method_4851(class_1111 arg0)
addPreloadedSound(Sound sound)
private float
g(hfi arg0)
calculatePitch(SoundInstance arg0)
method_4849(class_1113 arg0)
getAdjustedPitch(SoundInstance sound)
private float
h(hfi arg0)
calculateVolume(SoundInstance arg0)
method_4853(class_1113 arg0)
getAdjustedVolume(SoundInstance sound)
private float
a(float arg0, axg arg1)
calculateVolume(float arg0, SoundSource arg1)
method_43222(float arg0, class_3419 arg1)
getAdjustedVolume(float volume, SoundCategory category)
public void
e()
pause()
method_19761()
pauseAll()
public void
f()
resume()
method_19762()
resumeAll()
public void
a(hfi arg0, int arg1)
playDelayed(SoundInstance arg0, int arg1)
method_4852(class_1113 arg0, int arg1)
play(SoundInstance sound, int delay)
public void
a(flp arg0)
updateSource(Camera arg0)
method_4840(class_4184 arg0)
updateListenerPosition(Camera camera)
public void
a(alz arg0, axg arg1)
stop(ResourceLocation arg0, SoundSource arg1)
method_4838(class_2960 arg0, class_3419 arg1)
stopSounds(Identifier id, SoundCategory category)
public String
g()
getDebugString()
method_20304()
getDebugString()
public List<String>
h()
getAvailableSoundDevices()
method_38564()
getSoundDevices()
public ListenerTransform
i()
getListenerTransform()
method_55592()
getListenerTransform()