Package com.mojang.blaze3d.audio
Class Library
java.lang.Object
com.mojang.blaze3d.audio.Library
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
(package private) static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private static int
private long
private static Library.ChannelPool
private Listener
(package private) static org.apache.logging.log4j.Logger
private static int
private Library.ChannelPool
private Library.ChannelPool
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacquireChannel(Library.Pool p_83698_)
void
cleanup()
private int
void
init()
void
releaseChannel(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
-