AudioFrame2 constructor

AudioFrame2({
  1. List<int> samples = const [],
  2. int epoch = 0,
  3. int sequence = 0,
  4. int frameSizeInInterleavedSamples = 0,
  5. int timeStampInInterleavedSamples = 0,
  6. bool isFirst = false,
  7. bool isLast = false,
  8. double averageVolume = 0.0,
  9. double audioEventEstimatedDuration = 0.0,
})

Implementation

AudioFrame2({
    this.samples = const [],
    this.epoch = 0,
    this.sequence = 0,
    this.frameSizeInInterleavedSamples = 0,
    this.timeStampInInterleavedSamples = 0,
    this.isFirst = false,
    this.isLast = false,
    this.averageVolume = 0.0,
    this.audioEventEstimatedDuration = 0.0,
});