Interface OALSystem.ContextLock
- All Superinterfaces:
AutoCloseable
- Enclosing class:
OALSystem
A way to lock a current context down for a series of calls to OpenAL.
- Author:
- Matthew Tropiano
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()YOU SHOULD NOT NEED TO CALL THIS METHOD DIRECTLY. This is meant to be automatically called from a try-with-resources.voidlock()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:
closein interfaceAutoCloseable
-