AudioRecordSourceFactory
fun AudioRecordSourceFactory( audioSource: Int = MediaRecorder.AudioSource.VOICE_RECOGNITION, sampleRate: Int = 16000, channelConfig: Int = android.media.AudioFormat.CHANNEL_IN_FRONT, audioFormat: Int = android.media.AudioFormat.ENCODING_PCM_16BIT, bufferSize: Int = sampleRate * 2 * 10)
Content copied to clipboard