RecordConfig constructor

const RecordConfig({
  1. AudioEncoder encoder = AudioEncoder.aacLc,
  2. int bitRate = 128000,
  3. int sampleRate = 44100,
  4. int numChannels = 2,
  5. InputDevice? device,
  6. bool autoGain = false,
  7. bool echoCancel = false,
  8. bool noiseSuppress = false,
  9. AndroidRecordConfig androidConfig = const AndroidRecordConfig(),
  10. 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(),
});