# createInternalMicrophone

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!

#### Parameters

config

- AudioPlaybackCaptureConfiguration received from android.media.projection.MediaProjection

#### See also

AudioPlaybackCaptureConfiguration.Builder

"https://medium.com/@debuggingisfun/android-10-audio-capture-77dd8e9070f9"

open fun createInternalMicrophone(config: AudioPlaybackCaptureConfiguration, sampleRate: Int, isStereo: Boolean): Boolean