Results 1 to 3 of 3

Thread: Problem with NetRemote.PlaySound

  1. #1
    Join Date
    Jun 2005
    Posts
    339

    Default Problem with NetRemote.PlaySound

    I'm having a problem with playsound. I know that the options are:

    Option:
    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...

    Thanks!

    K

  2. #2
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Interesting, I'll take a look
    --Rob

  3. #3
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Okay, check the variable NR.ActionSound - if that is not nil or the empty string then pressing a button will terminate any existing sound.
    --Rob

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •