franciscoufa
Member
How do I make for a wav. sound repeats in bucle?
I am working with CICODE. I have made this function (when the alarm is triggered the ALARM.wav should be heard), but whenever the .wav finished it isn't repeat.
FUNCTION
MySound(STRING sSoundType)
SELECT CASE sSoundType
CASE "ARRANCAR"
DspPlaySound("C:\Users\Franciscou\Desktop\Proyecto1\ALARM.wav",0);
CASE "PARAR"
DspPlaySound("C:\Users\Franciscou\Desktop\Proyecto1\A.wav",0);
END SELECT
END
Thank you!
I am working with CICODE. I have made this function (when the alarm is triggered the ALARM.wav should be heard), but whenever the .wav finished it isn't repeat.
FUNCTION
MySound(STRING sSoundType)
SELECT CASE sSoundType
CASE "ARRANCAR"
DspPlaySound("C:\Users\Franciscou\Desktop\Proyecto1\ALARM.wav",0);
CASE "PARAR"
DspPlaySound("C:\Users\Franciscou\Desktop\Proyecto1\A.wav",0);
END SELECT
END
Thank you!