LoadSoundAlias method

  1. @override
Sound LoadSoundAlias(
  1. Sound source
)
override

Create a new sound that shares the same sample data as the source sound, does not own the sound data

Implementation

@override
Sound LoadSoundAlias(
  Sound source,
) => Sound$.RefCapture(
  RaylibCaptureIds.LoadSoundAlias,
  (p) => _wasm.LoadSoundAlias(
    p.toJS,
    Sound$.Ref1(source).toJS,
  ),
);