RtcAudioFormat constructor

RtcAudioFormat({
  1. AudioType? type = AudioType.PCM,
  2. int? channels = 0,
  3. int? sampleRate = 0,
  4. int? bytesPerSample = 0,
})

Constructs a RtcAudioFormat

Implementation

RtcAudioFormat(
    {this.type = AudioType.PCM,
    this.channels = 0,
    this.sampleRate = 0,
    this.bytesPerSample = 0});