createAudioDispatcher

abstract fun createAudioDispatcher(numOfThread: Int, componentName: String): CoroutineDispatcher

Creates a CoroutineDispatcher for audio processing.

Return

the created CoroutineDispatcher

Parameters

numOfThread

number of threads in the pool

componentName

name of the component using the dispatcher