# createMicrophone

open fun createMicrophone()

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

#### Parameters

audioSource

- the recording source. See MediaRecorder.AudioSource for the recording source definitions.