TSoundList.Play Method

Play the sound "SoundID", in a loop or not, and return its Player ID If the sound is played, the result is >= 0 If it returns -1, an error happened

Unit: Gamolf.FMX.MusicLoop
function Play(SoundID: integer; Loop: boolean): integer

Parameters

SoundID
Type: System.Integer

Loop
Type: System.Boolean

Return Value

Type: System.Integer