AudioFrame constructor

AudioFrame({
  1. List<int> data = const [],
  2. bool isKey = false,
  3. bool isLast = false,
  4. int timestampInUs = 0,
  5. int durationInUs = 0,
  6. bool isFirst = false,
  7. int totalDurationInUs = 0,
  8. double volume = 0.0,
  9. int volumeSampleCount = 0,
})

Implementation

AudioFrame({
    this.data = const [],
    this.isKey = false,
    this.isLast = false,
    this.timestampInUs = 0,
    this.durationInUs = 0,
    this.isFirst = false,
    this.totalDurationInUs = 0,
    this.volume = 0.0,
    this.volumeSampleCount = 0,
});