diff options
author | SignpostMarv | 2012-10-15 14:28:34 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-29 23:38:59 +0000 |
commit | 9df510157e26ffcaf04fd4b85512778fddc08f68 (patch) | |
tree | cdbe80ed975bd16cd59416e556fdbb2a4273d4ef /OpenSim/Region/Framework | |
parent | removing superfluous lines from SceneObjectPart.SendSound (diff) | |
download | opensim-SC_OLD-9df510157e26ffcaf04fd4b85512778fddc08f68.zip opensim-SC_OLD-9df510157e26ffcaf04fd4b85512778fddc08f68.tar.gz opensim-SC_OLD-9df510157e26ffcaf04fd4b85512778fddc08f68.tar.bz2 opensim-SC_OLD-9df510157e26ffcaf04fd4b85512778fddc08f68.tar.xz |
deduplicating code into a single LoopSound method
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/ISoundModule.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ISoundModule.cs b/OpenSim/Region/Framework/Interfaces/ISoundModule.cs index d34a520..e514a59 100644 --- a/OpenSim/Region/Framework/Interfaces/ISoundModule.cs +++ b/OpenSim/Region/Framework/Interfaces/ISoundModule.cs | |||
@@ -86,14 +86,15 @@ namespace OpenSim.Region.Framework.Interfaces | |||
86 | void PreloadSound(UUID objectID, UUID soundID, float radius); | 86 | void PreloadSound(UUID objectID, UUID soundID, float radius); |
87 | 87 | ||
88 | /// <summary> | 88 | /// <summary> |
89 | /// Declare object as new sync master, play specified sound at | 89 | /// Loop specified sound at specified volume with specified radius, |
90 | /// specified volume with specified radius. | 90 | /// optionally declaring object as new sync master. |
91 | /// </summary> | 91 | /// </summary> |
92 | /// <param name="objectID">Sound source ID</param> | 92 | /// <param name="objectID">Sound source ID</param> |
93 | /// <param name="soundID">Sound asset ID</param> | 93 | /// <param name="soundID">Sound asset ID</param> |
94 | /// <param name="gain">Sound volume</param> | 94 | /// <param name="gain">Sound volume</param> |
95 | /// <param name="radius">Sound radius</param> | 95 | /// <param name="radius">Sound radius</param> |
96 | void LoopSoundMaster(UUID objectID, UUID soundID, double gain, | 96 | /// <param name="isMaster">Set object to sync master if true</param> |
97 | double radius); | 97 | void LoopSound(UUID objectID, UUID soundID, double gain, |
98 | double radius, bool isMaster); | ||
98 | } | 99 | } |
99 | } \ No newline at end of file | 100 | } \ No newline at end of file |