AudioWorkers

interface AudioWorkers

uapmd::AudioWorkers. A count of 0 processes tracks serially. configure and waitForWorkers are control-thread operations and may wait for outstanding workers.

Inheritors

AndroidAudioWorkers
JsAudioWorkers
JvmAudioWorkers
NativeAudioWorkers
WasmJsAudioWorkers

Properties

Link copied to clipboard
abstract val count: UInt
Link copied to clipboard
abstract val fault: AudioWorkerFault

Anything but AudioWorkerFault.None stops the engine until the fault is reset.

Link copied to clipboard
abstract var stopOnDeadline: Boolean

Off by default: late blocks are silenced and processing resumes by itself.

Functions

Link copied to clipboard
abstract fun configure(workerCount: UInt): Boolean
Link copied to clipboard
abstract fun resetFault()
Link copied to clipboard
abstract fun waitForWorkers()

AudioWorkers::wait(), renamed because wait() is final on java.lang.Object.