aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces
diff options
context:
space:
mode:
authorSignpostMarv2012-10-05 14:01:29 +0100
committerJustin Clark-Casey (justincc)2012-10-29 23:38:57 +0000
commit375fb6658909f619f3210590743c228834d0d2c0 (patch)
treea4d1ab6427536a075989ccaf452dfab42c9fec45 /OpenSim/Region/Framework/Interfaces
parentConverting the ISoundModule implementation from an IRegionModule to an INonSh... (diff)
downloadopensim-SC-375fb6658909f619f3210590743c228834d0d2c0.zip
opensim-SC-375fb6658909f619f3210590743c228834d0d2c0.tar.gz
opensim-SC-375fb6658909f619f3210590743c228834d0d2c0.tar.bz2
opensim-SC-375fb6658909f619f3210590743c228834d0d2c0.tar.xz
making the max distance for sounds to be heard from their origin a configurable option exposed via a public field on ISoundModule (with private setter in the implementation)
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r--OpenSim/Region/Framework/Interfaces/ISoundModule.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ISoundModule.cs b/OpenSim/Region/Framework/Interfaces/ISoundModule.cs
index 6117a80..4c558cc 100644
--- a/OpenSim/Region/Framework/Interfaces/ISoundModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/ISoundModule.cs
@@ -32,6 +32,8 @@ namespace OpenSim.Region.Framework.Interfaces
32{ 32{
33 public interface ISoundModule 33 public interface ISoundModule
34 { 34 {
35 float MaxDistance { get; }
36
35 void PlayAttachedSound(UUID soundID, UUID ownerID, UUID objectID, double gain, Vector3 position, byte flags, float radius); 37 void PlayAttachedSound(UUID soundID, UUID ownerID, UUID objectID, double gain, Vector3 position, byte flags, float radius);
36 38
37 void TriggerSound( 39 void TriggerSound(