-
public interface AudioProcessorInterfaceInterface for external audio processing.
-
-
Method Summary
Modifier and Type Method Description abstract BooleanisEnabled()Check if the audio processing is enabled. abstract StringgetName()Get the name of the audio processing. abstract UnitinitializeAudioProcessing(Integer sampleRateHz, Integer numChannels)Initialize the audio processing. abstract UnitresetAudioProcessing(Integer newRate)Called when the sample rate has changed. abstract UnitprocessAudio(Integer numBands, Integer numFrames, ByteBuffer buffer)Process the audio frame (10ms). -
-
Method Detail
-
initializeAudioProcessing
abstract Unit initializeAudioProcessing(Integer sampleRateHz, Integer numChannels)
Initialize the audio processing.
Note: audio processing methods will be called regardless of whether isEnabled returns true or not.
-
resetAudioProcessing
abstract Unit resetAudioProcessing(Integer newRate)
Called when the sample rate has changed.
Note: audio processing methods will be called regardless of whether isEnabled returns true or not.
-
processAudio
abstract Unit processAudio(Integer numBands, Integer numFrames, ByteBuffer buffer)
Process the audio frame (10ms).
Note: audio processing methods will be called regardless of whether isEnabled returns true or not.
-
-
-
-