TtsParams constructor

TtsParams({
  1. String? vcn = 'x2_xiaojuan',
  2. int? speed = 50,
  3. int? pitch = 50,
  4. int? volume = 50,
  5. int? streamType = 3,
  6. TtsEngineType ent = TtsEngineType.xtts,
  7. int? bufferTime = 0,
  8. PlayMode playMode = PlayMode.sdk,
  9. bool? audioFocus = false,
})

Implementation

TtsParams({
  this.vcn = 'x2_xiaojuan',
  this.speed = 50,
  this.pitch = 50,
  this.volume = 50,
  this.streamType = 3,
  this.ent = TtsEngineType.xtts,
  this.bufferTime = 0,
  this.playMode = PlayMode.sdk,
  this.audioFocus = false,
});