RecordConfig constructor
const
RecordConfig({
- AudioEncoder encoder = AudioEncoder.aacLc,
- int bitRate = 128000,
- int sampleRate = 44100,
- int numChannels = 2,
- InputDevice? device,
- bool autoGain = false,
- bool echoCancel = false,
- bool noiseSuppress = false,
- AndroidRecordConfig androidConfig = const AndroidRecordConfig(),
- IosRecordConfig iosConfig = const IosRecordConfig(),
Implementation
const RecordConfig({
this.encoder = AudioEncoder.aacLc,
this.bitRate = 128000,
this.sampleRate = 44100,
this.numChannels = 2,
this.device,
this.autoGain = false,
this.echoCancel = false,
this.noiseSuppress = false,
this.androidConfig = const AndroidRecordConfig(),
this.iosConfig = const IosRecordConfig(),
});