Package dev.prozilla.pine.core.audio
Class AudioDevice
java.lang.Object
dev.prozilla.pine.core.audio.AudioDevice
- All Implemented Interfaces:
Destructible,Initializable
Represents an OpenAL audio device.
-
Constructor Details
-
AudioDevice
-
-
Method Details
-
init
public void init()Description copied from interface:InitializableInitializes this object to prepare its usage.- Specified by:
initin interfaceInitializable
-
destroy
public void destroy()Description copied from interface:DestructibleDestroys this object.- Specified by:
destroyin interfaceDestructible
-
isAvailable
public boolean isAvailable()Checks if the device is ready to be used. -
getALVersion
Returns the version of OpenAL.- Returns:
- The OpenAL version
-