View Full Version : Problem with NetRemote.PlaySound

September 27th, 2009, 08:35 AM
I'm having a problem with playsound. I know that the options are:

0 (default): Play sound once, synchronously
1 : Play sound asynchronously
2: Play sound asynchronously, and loop

But, using option 2, if I press any buttons while the loop is playing, it stops. One quirk I've noticed is that moving a slider does NOT disrupt the loop, but any button press does.

Is this the behavior I should be seeing? It's creating an issue since I'm working on an alarm clock and need the loop to continue until I deal with it via specific button presses, not any button...



Rob H
September 28th, 2009, 05:16 AM
Interesting, I'll take a look

Rob H
September 28th, 2009, 05:25 AM
Okay, check the variable NR.ActionSound - if that is not nil or the empty string then pressing a button will terminate any existing sound.