ChatVoiceParam constructor

ChatVoiceParam({
  1. ChatVoiceFormat format = ChatVoiceFormat.pcm,
  2. int? sampleRate,
  3. int? bitsPerSample,
  4. int? channels,
})

创建语音文件参数。

Implementation

ChatVoiceParam({
  this.format = ChatVoiceFormat.pcm,
  this.sampleRate,
  this.bitsPerSample,
  this.channels,
});