diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
index 4912ed8361..5a560d8fc2 100644
--- a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
+++ b/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
@@ -224,7 +224,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
}
}
- public virtual void PreloadSound(UUID soundID, UUID objectID, float radius)
+ public virtual void PreloadSound(UUID objectID, UUID soundID, float radius)
{
SceneObjectPart part;
if (soundID == UUID.Zero
diff --git a/OpenSim/Region/Framework/Interfaces/ISoundModule.cs b/OpenSim/Region/Framework/Interfaces/ISoundModule.cs
index d2557b59fa..d34a520fc4 100644
--- a/OpenSim/Region/Framework/Interfaces/ISoundModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/ISoundModule.cs
@@ -78,12 +78,12 @@ namespace OpenSim.Region.Framework.Interfaces
///
/// Preload sound to viewers within range.
///
- /// Sound asset ID
/// Sound source ID
+ /// Sound asset ID
///
/// Radius used to determine which viewers should preload the sound.
///
- void PreloadSound(UUID soundID, UUID objectID, float radius);
+ void PreloadSound(UUID objectID, UUID soundID, float radius);
///
/// Declare object as new sync master, play specified sound at
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 2669add8f8..02521450e2 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2440,7 +2440,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
m_host.AddScriptLPS(1);
if (m_SoundModule != null)
- m_SoundModule.PreloadSound(KeyOrName(sound), m_host.UUID, 0);
+ m_SoundModule.PreloadSound(m_host.UUID, KeyOrName(sound), 0);
ScriptSleep(1000);
}