UpdateSound method
Implementation
void UpdateSound(
SoundD sound,
List<int> data,
num sampleCount,
) => run(
() => 'UpdateSound($sound, data: ${data.length}, sampleCount: $sampleCount)',
() => rl.Temp.Sound$.RefUpdate1(sound,
(p) => rl.Audio.UpdateSound(
p.ref,
rl.Temp.Short$.Array(data).cast(),
sampleCount.toInt(),
),
),
);