LoadSound method

  1. @override
SoundD LoadSound(
  1. String fileName
)
override

Implementation

@override
SoundD LoadSound(
  String fileName,
) => run(
  () => RaylibDebugLabels.LoadSound(fileName),
  () => rl.Temp.Sound$.RefCapture(
    RaylibCaptureIds.LoadSound(fileName),
    (_) => rl.Audio.LoadSound(
      rl.Temp.String$.ValueOrNull(fileName),
    ),
  ),
);