runInContext

abstract suspend fun runInContext(runnable: suspend () -> Unit)

Runs a runnable in the context of the OpenAL audio device.

Parameters

runnable

The runnable to run in the device's context.