Class ALut


  • public final class ALut
    extends Object
    Author:
    Athomas Goldberg
    • Method Detail

      • alutInit

        public static void alutInit()
                             throws ALException
        Initializes the OpenAL Utility Toolkit, creates an OpenAL context and makes it current on the current thread. The ALut may only be initialized on one thread at any given time.
        Throws:
        ALException
      • alutExit

        public static void alutExit()
                             throws ALException
        Shuts down the OpenAL Utility Toolkit; releases and destroys the internal OpenAL context and closes the output device. Must be called from the same thread as alutInit(). Most applications should not need to call this; only those which wish to toggle sound on / off at run time by initializing and un-initializing OpenAL need to call it.
        Throws:
        ALException