Interface OALSystem.ContextLock

All Superinterfaces:
AutoCloseable
Enclosing class:
OALSystem

public static interface OALSystem.ContextLock extends AutoCloseable
A way to lock a current context down for a series of calls to OpenAL.
Author:
Matthew Tropiano
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    YOU SHOULD NOT NEED TO CALL THIS METHOD DIRECTLY. This is meant to be automatically called from a try-with-resources.
    void
    DO NOT CALL THIS METHOD DIRECTLY. This is called by the time the user receives it, and serves as a means for obscuring a locking mechanism.
  • Method Details

    • lock

      void lock()
      DO NOT CALL THIS METHOD DIRECTLY. This is called by the time the user receives it, and serves as a means for obscuring a locking mechanism.
    • close

      void close()
      YOU SHOULD NOT NEED TO CALL THIS METHOD DIRECTLY. This is meant to be automatically called from a try-with-resources.
      Specified by:
      close in interface AutoCloseable