This extension introduces the concept of a current thread-local context, with each thread able to have its own current context. The current context is what the al- functions work on, effectively allowing multiple threads to independently drive separate OpenAL playback contexts.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static long | |
| public static boolean | alcSetThreadContext(long
the context to make current context)Makes a context current with respect to OpenAL operation on the current thread. |
| EXTThreadLocalContext | back to summary |
|---|---|
| protected EXTThreadLocalContext() | |
| alcGetThreadContext | back to summary |
|---|---|
| public static long alcGetThreadContext() Retrieves a handle to the thread-specific context of the calling thread. This function will return
| |
| alcSetThreadContext | back to summary |
|---|---|
| public static boolean alcSetThreadContext(long context) Makes a context current with respect to OpenAL operation on the current thread. The context parameter can be
| |