mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
mantis 8305: add several ossl sound funtions that accept a link number for the prim associated to that sound. The link number must point to a single prim
This commit is contained in:
@@ -1216,5 +1216,54 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_OSSL_Functions.osAngleBetween(a, b);
|
||||
}
|
||||
|
||||
public void osAdjustSoundVolume(LSL_Integer linknum, LSL_Float volume)
|
||||
{
|
||||
m_OSSL_Functions.osAdjustSoundVolume(linknum, volume);
|
||||
}
|
||||
|
||||
public void osSetSoundRadius(LSL_Integer linknum, LSL_Float radius)
|
||||
{
|
||||
m_OSSL_Functions.osSetSoundRadius(linknum, radius);
|
||||
}
|
||||
|
||||
public void osPlaySound(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
|
||||
{
|
||||
m_OSSL_Functions.osPlaySound(linknum, sound, volume);
|
||||
}
|
||||
|
||||
public void osLoopSound(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
|
||||
{
|
||||
m_OSSL_Functions.osLoopSound(linknum, sound, volume);
|
||||
}
|
||||
|
||||
public void osLoopSoundMaster(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
|
||||
{
|
||||
m_OSSL_Functions.osLoopSoundMaster(linknum, sound, volume);
|
||||
}
|
||||
|
||||
public void osLoopSoundSlave(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
|
||||
{
|
||||
m_OSSL_Functions.osLoopSoundSlave(linknum, sound, volume);
|
||||
}
|
||||
|
||||
public void osPlaySoundSlave(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
|
||||
{
|
||||
m_OSSL_Functions.osPlaySoundSlave(linknum, sound, volume);
|
||||
}
|
||||
|
||||
public void osTriggerSound(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
|
||||
{
|
||||
m_OSSL_Functions.osTriggerSound(linknum, sound, volume);
|
||||
}
|
||||
|
||||
public void osStopSound(LSL_Integer linknum)
|
||||
{
|
||||
m_OSSL_Functions.osStopSound(linknum);
|
||||
}
|
||||
|
||||
public void osPreloadSound(LSL_Integer linknum, LSL_String sound)
|
||||
{
|
||||
m_OSSL_Functions.osPreloadSound(linknum, sound);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user