JavaAudioDeviceModule

AudioDeviceModule implemented using android.media.AudioRecord as input and android.media.AudioTrack as output.

Types

Link copied to clipboard
Link copied to clipboard
Called when audio recording starts and stops.
Link copied to clipboard
open class AudioSamples
Contains audio sample information.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called when audio playout starts and stops.
Link copied to clipboard
open class Builder
Link copied to clipboard
Called when new audio samples are ready.

Functions

Link copied to clipboard
Link copied to clipboard
Returns a C++ pointer to a webrtc::AudioDeviceModule.
Link copied to clipboard
Returns true if the device supports built-in HW AEC, and the UUID is approved (some UUIDs can be excluded).
Link copied to clipboard
Returns true if the device supports built-in HW NS, and the UUID is approved (some UUIDs can be excluded).
Link copied to clipboard
open fun release()
Release resources for this AudioDeviceModule, including native resources.
Link copied to clipboard
open fun setMicrophoneMute(mute: Boolean)
Control muting/unmuting the microphone.
Link copied to clipboard
Enable or disable built in noise suppressor.
Link copied to clipboard
Start to prefer a specific AudioDeviceInfo device for recording.
Link copied to clipboard
open fun setSpeakerMute(mute: Boolean)
Control muting/unmuting the speaker.

Inherited functions

Link copied to clipboard
Sets the preferred field dimension for the built-in microphone.