setD method
Copies the fields of the Dart struct o into this instance.
Implementation
@override
WaveD setD(WaveD o) {
originalPointer ??= o.originalPointer;
frameCount = o.frameCount;
sampleRate = o.sampleRate;
sampleSize = o.sampleSize;
channels = o.channels;
data = .from(o.data);
return this;
}