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:Initializable
Initializes this object to prepare its usage.- Specified by:
init
in interfaceInitializable
-
destroy
public void destroy()Description copied from interface:Destructible
Destroys this object.- Specified by:
destroy
in interfaceDestructible
-
isAvailable
public boolean isAvailable()Checks if the device is ready to be used. -
getALVersion
Returns the version of OpenAL.- Returns:
- The OpenAL version
-