com.mojang.blaze3d.audio

public class Library

fef
com.mojang.blaze3d.audio.Library
net.minecraft.class_4225
net.minecraft.client.sound.SoundEngine

Field summary

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

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)
private void
a(boolean arg0)
setHrtf(boolean arg0)
method_41711(boolean arg0)
setDirectionalAudio(boolean enabled)
private int
i()
getChannelCount()
method_20297()
getMonoSourceCount()
public static String
a()
getDefaultDeviceName()
method_38500()
findAvailableDeviceSpecifier()
public String
b()
getCurrentDeviceName()
method_38722()
getCurrentDeviceName()
public synchronized boolean
c()
hasDefaultDeviceChanged()
method_38723()
updateDeviceSpecifier()
private static long
a(String arg0)
openDeviceOrFallback(String arg0)
method_38501(String arg0)
openDeviceOrFallback(String deviceSpecifier)
private static OptionalLong
b(String arg0)
tryOpenDevice(String arg0)
method_20050(String arg0)
openDevice(String deviceSpecifier)
public void
d()
cleanup()
method_19664()
close()
public Listener
e()
getListener()
method_19665()
getListener()
public Channel
a(fef$c arg0)
acquireChannel(Library$Pool arg0)
method_19663(class_4225$class_4105 arg0)
createSource(SoundEngine$RunMode mode)
public void
a(fee arg0)
releaseChannel(Channel arg0)
method_19662(class_4224 arg0)
release(Source source)
public String
f()
getDebugString()
method_20296()
getDebugString()
public List<String>
g()
getAvailableSoundDevices()
method_38502()
getSoundDevices()
public boolean
h()
isCurrentDeviceDisconnected()
method_38724()
isDeviceUnavailable()