public class SoundSystem
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SoundSystem.HandlerImpl |
(package private) static interface |
SoundSystem.IHandler |
static class |
SoundSystem.Mode |
Modifier and Type | Field and Description |
---|---|
private long |
context |
private long |
device |
private static SoundSystem.IHandler |
EMPTY |
private Listener |
listener |
private static org.apache.logging.log4j.Logger |
LOGGER |
private SoundSystem.IHandler |
staticChannels |
private SoundSystem.IHandler |
streamingChannels |
Constructor and Description |
---|
SoundSystem() |
Modifier and Type | Method and Description |
---|---|
SoundSource |
acquireChannel(SoundSystem.Mode p_216403_1_) |
void |
cleanup() |
private int |
getChannelCount() |
java.lang.String |
getDebugString() |
Listener |
getListener() |
void |
init() |
void |
releaseChannel(SoundSource p_216408_1_) |
private static long |
tryOpenDevice() |
private static final org.apache.logging.log4j.Logger LOGGER
private long device
private long context
private static final SoundSystem.IHandler EMPTY
private SoundSystem.IHandler staticChannels
private SoundSystem.IHandler streamingChannels
private final Listener listener
public void init()
private int getChannelCount()
private static long tryOpenDevice()
public void cleanup()
public Listener getListener()
@Nullable public SoundSource acquireChannel(SoundSystem.Mode p_216403_1_)
public void releaseChannel(SoundSource p_216408_1_)
public java.lang.String getDebugString()