Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llPlaySound Issues

Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
08-22-2007 15:18
I've been noticing this for months and finally broke down to look through the bug list the other day and couldn't tell if anything specifically addressed it.

Has anyone else noticed random looping of sounds played by llPlaySound?

My specific example is in a physical vehicle script I've been using for a long time and never had a problem until a few months ago. I have a sound that plays when you switch between flight modes, and the old ones using llPlaySound will now go into an unending loop that even llStopSound cannot end. However, this same script, if I switch it to llTriggerSound, it will now only play once like it did before this broke.

Not that long ago they broke llTriggerSound and broke even llPlaySound even more when they made some fix to one of the SoundQueueing commands and caused PlaySound to ALWAYS go into an unstoppable loop, and Trigger started doing the random looping.

It appears now as if Trigger is back to the way it was and working ok, but Play still does the never-ending loop...though it does it more randomly as far as when it starts. It will play once...then at some random point will go into an unstoppable loop.


I have other items that I've used play and trigger with absolutely no problems, they just exist outside of the vehicle coding in those so I would have to test to see if that's all it is, but still that seems like a pretty annoying bug and I've heard nothing so far to address it. Trigger sound is ok, but if the person is going really fast, they aren't going to hear it since they're going to leave the spot that it was called at in the dust, so play would be much better.
SpankMe Pinkerton
Registered User
Join date: 13 Feb 2005
Posts: 158
08-23-2007 12:14
Yes I posted about this sound problem two updates ago and it got no notice. It appears to only affect llPlaySound when using a sound que. Also, after testing I find it only happens to newly compiled scripts. I do not get constant looping, I get random playback at random intervals.
Hastur Pierterson
Soundscape Alchemist
Join date: 5 Jan 2006
Posts: 105
08-23-2007 14:29
Might this be the same issue?

https://jira.secondlife.com/browse/VWR-770
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
08-24-2007 13:28
This seems like most of it yes, though lately it does a more looped effect than just random repeats.

I suck at searching that thing, thanks for finding it so I can see that more are having it :)