Could you suggest any idea to let the sound play multiple times?
Thanks.
(FileName is a property referring to the name of wav file)
protected override void Initialize() {
Overlay = true;
CalculateOnBarClose = false;
}
protected override void OnBarUpdate() {
alertCalls = 2;
while (alertCalls > 0) {
PlaySound(FileName);
PlaySound(FileName);
PlaySound(FileName);
alertCalls--;
}
}

However, my intention is to let a sound (selected by users) play non-stop until it is turned off. So, we cannot record a new file here.
.
. Sincere thanks for your kind help!
Comment