small comment

main
cosmonaut 2021-11-02 19:43:10 -07:00
parent f3261cab9e
commit b0149fe85c
1 changed files with 2 additions and 0 deletions

View File

@ -149,6 +149,8 @@ function SoundInstance(_soundInstanceID) constructor
FAudioGMS_SoundInstance_SetTrackPosition(soundInstanceID, seconds); FAudioGMS_SoundInstance_SetTrackPosition(soundInstanceID, seconds);
} }
// Sets loop points for the sound instance.
// MUST Be called before Play.
static SetLoopPoints = function(loopStartInMilliseconds, loopEndInMilliseconds) static SetLoopPoints = function(loopStartInMilliseconds, loopEndInMilliseconds)
{ {
FAudioGMS_SoundInstance_SetLoopPoints(soundInstanceID, loopStartInMilliseconds, loopEndInMilliseconds); FAudioGMS_SoundInstance_SetLoopPoints(soundInstanceID, loopStartInMilliseconds, loopEndInMilliseconds);