AudioRecordSource
Captures PCM audio using AudioRecord.
Grant RECORD_AUDIO permission and configure capture settings before attaching this source with MediaMixer.attachAudio. The default format is 16-bit mono PCM at 44,100 Hz.
Properties
Link copied to clipboard
The lazily created recorder, or null if audio recording permission has not been granted.
Link copied to clipboard
The Android audio capture source; defaults to MediaRecorder.AudioSource.CAMCORDER.
Link copied to clipboard
The capture buffer size, in bytes; computed on first access unless explicitly assigned.
Link copied to clipboard
The capture sample rate, in hertz.