TSoundList.Play Method
Definition
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
Delphi
function Play(SoundID: integer; Loop: boolean = False): integer
Parameters
- SoundID
- Integer
- Loop
- Boolean
Returns
Integer