Package com.mojang.blaze3d.audio
Class Library
java.lang.Object
com.mojang.blaze3d.audio.Library
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface(package private) static classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate static intprivate longprivate static Library.ChannelPoolprivate Listener(package private) static org.apache.logging.log4j.Loggerprivate static intprivate Library.ChannelPoolprivate Library.ChannelPool -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacquireChannel(Library.Pool p_83698_)voidcleanup()private intvoidinit()voidreleaseChannel(Channel p_83696_)private static long
-
Field Details
-
NUM_OPEN_DEVICE_RETRIES
private static final int NUM_OPEN_DEVICE_RETRIES- See Also:
- Constant Field Values
-
LOGGER
static final org.apache.logging.log4j.Logger LOGGER -
DEFAULT_CHANNEL_COUNT
private static final int DEFAULT_CHANNEL_COUNT- See Also:
- Constant Field Values
-
device
private long device -
context
private long context -
EMPTY
-
staticChannels
-
streamingChannels
-
listener
-
-
Constructor Details
-
Library
public Library()
-
-
Method Details
-
init
public void init() -
getChannelCount
private int getChannelCount() -
tryOpenDevice
private static long tryOpenDevice() -
cleanup
public void cleanup() -
getListener
-
acquireChannel
-
releaseChannel
-
getDebugString
-