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
See also
"https://developer.android.com/guide/topics/media/playback-capture"
"https://medium.com/@debuggingisfun/android-10-audio-capture-77dd8e9070f9"
open fun createInternalMicrophone(config: AudioPlaybackCaptureConfiguration, sampleRate: Int, isStereo: Boolean): Boolean