Interface AudioThread

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean GET
      Used to return value from synchronised boolean methods
      static boolean NA
      Used as parameter when returning value from synchronised boolean methods
      static boolean SET
      Used to set value in synchronised boolean methods
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void die()
      Method used to tell the thread that it should shutdown
      boolean isThreadAlive()
      Checks if the thread is still alive (or in the process of shutting down)
      • Methods inherited from interface java.lang.Runnable

        run
    • Field Detail

      • NA

        static final boolean NA
        Used as parameter when returning value from synchronised boolean methods
        See Also:
        Constant Field Values
    • Method Detail

      • isThreadAlive

        boolean isThreadAlive()
        Checks if the thread is still alive (or in the process of shutting down)

        Once cleanup has finished, this should return False

        Returns:
        true, while thread is alive; false, when all cleanup has finished
      • die

        void die()
        Method used to tell the thread that it should shutdown