SetSoundPitch method

void SetSoundPitch(
  1. SoundD sound,
  2. num pitch
)

Implementation

void SetSoundPitch(
  SoundD sound,
  num pitch,
) => run(
  () => 'SetSoundPitch($sound, $pitch)',
  () => rl.Audio.SetSoundPitch(
    rl.Temp.Sound$.Ref1(sound).ref,
    pitch.toDouble(),
  ),
);