UpdateSound method

  1. @override
void UpdateSound(
  1. SoundD sound,
  2. TypedDataList data,
  3. num sampleCount
)
override

Implementation

@override
void UpdateSound(
  SoundD sound,
  TypedDataList data,
  num sampleCount,
) => run(
  () => RaylibDebugLabels.UpdateSound(sound, data, sampleCount),
  () => rl.Temp.Sound$.RefUpdate1(sound,
    (p) => rl.Audio.UpdateSound(
      p.ref,
      rl.Temp.TypedDataList$.Array(data).cast(),
      sampleCount.toInt(),
    ),
  ),
);