allocateInto method
Implementation
@override
void allocateInto(RaylibTemp temp, Pointer<WaveC> p, String key) {
p.ref.frameCount = frameCount;
p.ref.sampleRate = sampleRate;
p.ref.sampleSize = sampleSize;
p.ref.channels = channels;
p.ref.data = temp.Short$.Array(data, key: '${key}_data').cast();
}