WaveD constructor
WaveD({
- WasmStructPointer<
WaveD> ? originalPointer, - int frameCount = 0,
- int sampleRate = 0,
- int sampleSize = 8,
- int channels = 0,
- 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);
}