CoreAudioGenerator

class CoreAudioGenerator(val sampleRate: Int, val nchannels: Int, val numBuffers: Int = 4, val bufferSize: Int = 2048, val coroutineContext: CoroutineContext, val generatorCore: CoreAudioNativeSoundProvider.CoreAudioGenerator.(data: CPointer<ShortVar>, dataSize: Int) -> Unit) : CoreAudioNativeSoundProvider.MyCoreAudioOutputCallback

Constructors

Link copied to clipboard
constructor(sampleRate: Int, nchannels: Int, numBuffers: Int = 4, bufferSize: Int = 2048, coroutineContext: CoroutineContext, generatorCore: CoreAudioNativeSoundProvider.CoreAudioGenerator.(data: CPointer<ShortVar>, dataSize: Int) -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
var buffers: CPointer<CPointerVarOf<CPointer<AudioQueueBuffer>>>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var queue: CPointerVarOf<CPointer<OpaqueAudioQueue>>?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun dispose()
Link copied to clipboard
open override fun generateOutput(data: CPointer<ShortVar>, dataSize: Int)
Link copied to clipboard
fun start()