AudioIORunnable

interface AudioIORunnable : Runnable

This interface is to be extended when developers want to override the default audio capturing and playback mechanisms of the NoiseCancellationAudioDevice. The object inheriting this interface is expected to start capturing or playback upon construction and shall stop when stop is called.

Functions

run
Link copied to clipboard
abstract fun run()
stop
Link copied to clipboard
abstract fun stop()
This method is invoked by the audio subsystem when audio capturing or playback is to be stopped.