GetSound typedef
GetSound =
Sound Function({required bool destroy, LoadMode loadMode, bool looping, Duration loopingStart, bool paused, SoundPosition position, double relativePlaySpeed, required SoundReference soundReference, double? volume})
The type of a function which converts a SoundReference path to a Sound
instance.
Implementation
typedef GetSound =
Sound Function({
required SoundReference soundReference,
required bool destroy,
LoadMode loadMode,
bool looping,
Duration loopingStart,
bool paused,
SoundPosition position,
double? volume,
double relativePlaySpeed,
});