stripping whitespace from ISoundModule, formatting SoundModuleNonShared.cs

integration
SignpostMarv 2012-10-05 14:14:01 +01:00 committed by Justin Clark-Casey (justincc)
parent 20be6a4b48
commit 1d47bcb6b6
2 changed files with 6 additions and 4 deletions

View File

@ -133,7 +133,8 @@ namespace OpenSim.Region.CoreModules.World.Sound
// Scale by distance
double thisSpGain = gain * ((radius - dis) / radius);
sp.ControllingClient.SendPlayAttachedSound(soundID, objectID, ownerID, (float)thisSpGain, flags);
sp.ControllingClient.SendPlayAttachedSound(soundID, objectID,
ownerID, (float)thisSpGain, flags);
});
}
@ -171,8 +172,9 @@ namespace OpenSim.Region.CoreModules.World.Sound
// Scale by distance
double thisSpGain = gain * ((radius - dis) / radius);
sp.ControllingClient.SendTriggeredSound(
soundId, ownerID, objectID, parentID, handle, position, (float)thisSpGain);
sp.ControllingClient.SendTriggeredSound(soundId, ownerID,
objectID, parentID, handle, position,
(float)thisSpGain);
});
}

View File

@ -35,7 +35,7 @@ namespace OpenSim.Region.Framework.Interfaces
float MaxDistance { get; }
void PlayAttachedSound(UUID soundID, UUID ownerID, UUID objectID, double gain, Vector3 position, byte flags, float radius);
void TriggerSound(
UUID soundId, UUID ownerID, UUID objectID, UUID parentID, double gain, Vector3 position, UInt64 handle, float radius);
}