Package net.minecraft.client.sound
Class SoundEngine
java.lang.Object
net.minecraft.client.sound.SoundEngine
@Environment(CLIENT) public class SoundEngine extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSoundEngine.RunMode(package private) static interfaceSoundEngine.SourceSet(package private) static classSoundEngine.SourceSetImpl -
Field Summary
Fields Modifier and Type Field Description private longcontextPointerprivate longdevicePointerprivate static SoundEngine.SourceSetEMPTY_SOURCE_SETprivate SoundListenerlistenerprivate static LoggerLOGGERprivate SoundEngine.SourceSetstaticSourcesprivate SoundEngine.SourceSetstreamingSources -
Constructor Summary
Constructors Constructor Description SoundEngine() -
Method Summary
Modifier and Type Method Description voidclose()SourcecreateSource(SoundEngine.RunMode mode)StringgetDebugString()SoundListenergetListener()private intgetMonoSourceCount()voidinit()private static longopenDevice()voidrelease(Source source)
-
Field Details
-
LOGGER
-
EMPTY_SOURCE_SET
-
devicePointer
private long devicePointer -
contextPointer
private long contextPointer -
streamingSources
-
staticSources
-
listener
-
-
Constructor Details
-
SoundEngine
public SoundEngine()
-
-
Method Details
-
init
public void init() -
getMonoSourceCount
private int getMonoSourceCount() -
openDevice
private static long openDevice() -
close
public void close() -
getListener
-
createSource
-
release
-
getDebugString
-