setPreferredAudioSource

fun setPreferredAudioSource(audioSource: Int)

Sets preferred audio source. Please refer to the android.media.MediaRecorder.AudioSource for details. The default value is android.media.MediaRecorder.AudioSource.VOICE_COMMUNICATION. Some options could require additional permissions like android.Manifest.permission.CAPTURE_AUDIO_OUTPUT.

Since

1.1.1

See also

Parameters