MicrophoneManager
Functions
Link copied to clipboard
open fun createInternalMicrophone(config: AudioPlaybackCaptureConfiguration, sampleRate: Int, isStereo: Boolean): Boolean
open fun createInternalMicrophone(config: AudioPlaybackCaptureConfiguration, sampleRate: Int, isStereo: Boolean, echoCanceler: Boolean, noiseSuppressor: Boolean): Boolean
Create audio record with params and AudioPlaybackCaptureConfig used for capturing internal audio Notice that you should granted RECORD_AUDIO before calling this!
Link copied to clipboard
Create audio record
open fun createMicrophone(sampleRate: Int, isStereo: Boolean, echoCanceler: Boolean, noiseSuppressor: Boolean): Boolean
Create audio record with params and default audio source
open fun createMicrophone(audioSource: Int, sampleRate: Int, isStereo: Boolean, echoCanceler: Boolean, noiseSuppressor: Boolean): Boolean
Create audio record with params and selected audio source
Link copied to clipboard
Link copied to clipboard