com.mojang.blaze3d.audio

public class Library

enw
com.mojang.blaze3d.audio.Library
net.minecraft.class_4225
net.minecraft.client.sound.SoundEngine
net.minecraft.src.C_3085_

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_18897
LOGGER
f_83685_
private static final int
b
NO_DEVICE
field_34945
field_34945
f_193464_
private static final int
c
DEFAULT_CHANNEL_COUNT
field_31897
field_31897
f_166128_
private long
d
currentDevice
field_18898
devicePointer
f_193465_
private long
e
context
field_18899
contextPointer
f_83687_
private boolean
f
supportsDisconnections
field_34946
disconnectExtensionPresent
f_193466_
private String
g
defaultDeviceName
field_34947
deviceSpecifier
f_193467_
private static final Library$ChannelPool
h
EMPTY
field_19183
EMPTY_SOURCE_SET
f_83688_
private Library$ChannelPool
i
staticChannels
field_19184
streamingSources
f_83689_
private Library$ChannelPool
j
streamingChannels
field_19185
staticSources
f_83690_
private final Listener
k
listener
field_18902
listener
f_83691_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(String arg0, boolean arg1)
init(String arg0, boolean arg1)
method_19661(String arg0, boolean arg1)
init(String deviceSpecifier, boolean directionalAudio)
m_231084_(String p_231086_, boolean arg1)
private void
a(boolean arg0)
setHrtf(boolean arg0)
method_41711(boolean arg0)
setDirectionalAudio(boolean enabled)
m_241879_(boolean arg0)
private int
i()
getChannelCount()
method_20297()
getMonoSourceCount()
m_83703_()
public static String
a()
getDefaultDeviceName()
method_38500()
findAvailableDeviceSpecifier()
m_193468_()
public String
b()
getCurrentDeviceName()
method_38722()
getCurrentDeviceName()
m_193471_()
public synchronized boolean
c()
hasDefaultDeviceChanged()
method_38723()
updateDeviceSpecifier()
m_193474_()
private static long
a(String arg0)
openDeviceOrFallback(String arg0)
method_38501(String arg0)
openDeviceOrFallback(String deviceSpecifier)
m_193472_(String p_193473_)
private static OptionalLong
b(String arg0)
tryOpenDevice(String arg0)
method_20050(String arg0)
openDevice(String deviceSpecifier)
m_193475_(String p_193476_)
public void
d()
cleanup()
method_19664()
close()
m_83699_()
public Listener
e()
getListener()
method_19665()
getListener()
m_83700_()
public Channel
a(enw$c arg0)
acquireChannel(Library$Pool arg0)
method_19663(class_4225$class_4105 arg0)
createSource(SoundEngine$RunMode mode)
m_83697_(C_3085_$C_3089_ arg0)
public void
a(env arg0)
releaseChannel(Channel arg0)
method_19662(class_4224 arg0)
release(Source source)
m_83695_(C_3084_ arg0)
public String
f()
getDebugString()
method_20296()
getDebugString()
m_83701_()
public List<String>
g()
getAvailableSoundDevices()
method_38502()
getSoundDevices()
m_193477_()
public boolean
h()
isCurrentDeviceDisconnected()
method_38724()
isDeviceUnavailable()
m_193478_()