Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005994opensim[REGION] Scripting Enginepublic2012-04-26 19:272012-10-31 00:36
ReporterDigi Fly 
Assigned Tojustincc 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0005994: llLoopSound stops playing when llPlaySound is started from root.
DescriptionSomeone pointed me on problem with sound, after some testing i can confirm that
2 sound prims linked togheter with in the root prim llLoopSound and in the child prim llPlaySound inside a touch event kills the llLoopSound when you click the llPlaySound.
Steps To ReproduceScript used in root prim
-------------------------

default
{
    state_entry()
    {
        llStopSound();
    }
    
    touch_end(integer num_detected)
    {
        llLoopSound("typesound",1.0);
    }
}


Script used in child prim
-------------------------

default
{
    state_entry()
    {
        llStopSound();
    }
    
    touch_end(integer num_detected)
    {
        llPlaySound("camera_sound", 0.5);
    }
}

put both scripts in a prim link them, and make sure the llLoopSound is root.
If you click the llLoopSound prim first and then the child prim in my example the typeing sounds get killed.

If you make the llLoopSound child and llPlaySound the root prim it works fine.
Test the same scripts in sl, there it works fine in any combination.
TagsNo tags attached.
Git Revision or version number164706043d68108a6144abf306739cccfc3133a3
Run Mode Grid (1 Region per Sim)
Physics EngineODE
EnvironmentMono / Linux64
Mono Version2.10
Viewer
Attached Files

- Relationships
related to 0006339resolvedjustincc Sound module refactoring 

-  Notes
(0021315)
Digi Fly (reporter)
2012-04-27 11:28
edited on: 2012-04-27 11:29

Tested 1 step more:
If you put both scripts in child prims and keep the root prim scriptless
then the play both sound at the same time without killing one of the sound prims.

(0021774)
Digi Fly (reporter)
2012-07-07 12:49
edited on: 2012-07-07 12:50

Problem still exists in. 1926de5a0599051c27c065fb06da3dc536e6784a
You need 1 script for every sound you need to play simultanious and offcorse a child prim.

(0022953)
justincc (administrator)
2012-10-29 23:55

Please could you retest with sound module changes as of git master a09cb6?
(0022957)
Richardus Raymaker (reporter)
2012-10-30 20:45

Done the test with 984faf2-r/20875 i can now play the root prim with loopsound.
And at the same time play the child prim with playsound.

Sofar it looks to work fine.

- Issue History
Date Modified Username Field Change
2012-04-26 19:27 Digi Fly New Issue
2012-04-27 11:28 Digi Fly Note Added: 0021315
2012-04-27 11:29 Digi Fly Note Edited: 0021315 View Revisions
2012-07-07 12:49 Digi Fly Note Added: 0021774
2012-07-07 12:50 Digi Fly Note Edited: 0021774 View Revisions
2012-07-07 12:50 Digi Fly Note Edited: 0021774 View Revisions
2012-10-09 08:56 SignpostMarv Relationship added related to 0006339
2012-10-29 23:55 justincc Note Added: 0022953
2012-10-29 23:56 justincc Assigned To => justincc
2012-10-29 23:56 justincc Status new => feedback
2012-10-29 23:56 justincc Assigned To justincc =>
2012-10-30 20:45 Richardus Raymaker Note Added: 0022957
2012-10-31 00:36 justincc Status feedback => resolved
2012-10-31 00:36 justincc Resolution open => fixed
2012-10-31 00:36 justincc Assigned To => justincc


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker