AudioProcessorInterface

Interface for external audio processing.

Functions

Link copied to clipboard
abstract fun getName(): String

Get the name of the audio processing.

Link copied to clipboard
abstract fun initializeAudioProcessing(sampleRateHz: Int, numChannels: Int)

Initialize the audio processing.

Link copied to clipboard
abstract fun isEnabled(): Boolean

Check if the audio processing is enabled.

Link copied to clipboard
abstract fun processAudio(numBands: Int, numFrames: Int, buffer: ByteBuffer)

Process the audio frame (10ms).

Link copied to clipboard
abstract fun resetAudioProcessing(newRate: Int)

Called when the sample rate has changed.