WaveD constructor

WaveD({
  1. Pointer<WaveC>? originalPointer,
  2. int frameCount = 0,
  3. int sampleRate = 0,
  4. int sampleSize = 8,
  5. int channels = 0,
  6. ByteBuffer? data,
})

Implementation

WaveD({
  super.originalPointer,
  this.frameCount = 0,
  this.sampleRate = 0,
  this.sampleSize = 8,
  this.channels = 0,
  ByteBuffer? data,
}) {
  this.data = data ?? _WaveUtils._dummyData(sampleSize, waveLength);
}