AudioProcessorInterface

interface AudioProcessorInterface

Interface for external audio processing.

Functions

getName
Link copied to clipboard
abstract fun getName(): String
Get the name of the audio processing.
initializeAudioProcessing
Link copied to clipboard
abstract fun initializeAudioProcessing(sampleRateHz: Int, numChannels: Int)
Initialize the audio processing.
isEnabled
Link copied to clipboard
abstract fun isEnabled(): Boolean
Check if the audio processing is enabled.
processAudio
Link copied to clipboard
abstract fun processAudio(numBands: Int, numFrames: Int, buffer: ByteBuffer)
Process the audio frame (10ms).
resetAudioProcessing
Link copied to clipboard
abstract fun resetAudioProcessing(newRate: Int)
Called when the sample rate has changed.

Sources

SDK source
Link copied to clipboard