AudioDeviceModule

This interface is a thin wrapper on top of a native C++ webrtc::AudioDeviceModule (ADM). The reason for basing it on a native ADM instead of a pure Java interface is that we have two native Android implementations (OpenSLES and AAudio) that does not make sense to wrap through JNI.

Note: This class is still under development and may change without notice.

Inheritors

Functions

Link copied to clipboard
Returns a C++ pointer to a webrtc::AudioDeviceModule.
Link copied to clipboard
abstract fun release()
Release resources for this AudioDeviceModule, including native resources.
Link copied to clipboard
abstract fun setMicrophoneMute(mute: Boolean)
Control muting/unmuting the microphone.
Link copied to clipboard
Enable or disable built in noise suppressor.
Link copied to clipboard
Sets the preferred field dimension for the built-in microphone.
Link copied to clipboard
abstract fun setSpeakerMute(mute: Boolean)
Control muting/unmuting the speaker.