Class AudioDevice

java.lang.Object
dev.prozilla.pine.core.audio.AudioDevice
All Implemented Interfaces:
Destructible, Initializable

public class AudioDevice extends Object implements Initializable, Destructible
Represents an OpenAL audio device.
  • Constructor Details

    • AudioDevice

      public AudioDevice(Application application)
  • Method Details

    • init

      public void init()
      Description copied from interface: Initializable
      Initializes this object to prepare its usage.
      Specified by:
      init in interface Initializable
    • destroy

      public void destroy()
      Description copied from interface: Destructible
      Destroys this object.
      Specified by:
      destroy in interface Destructible
    • isAvailable

      public boolean isAvailable()
      Checks if the device is ready to be used.
    • getALVersion

      public String getALVersion()
      Returns the version of OpenAL.
      Returns:
      The OpenAL version