OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Region.Framework.Interfaces.ISoundModule Interface Reference
Inheritance diagram for OpenSim.Region.Framework.Interfaces.ISoundModule:
Inheritance graph
[legend]

Public Member Functions

void PlayAttachedSound (UUID soundID, UUID ownerID, UUID objectID, double gain, Vector3 position, byte flags, float radius)
 Play a sound from an object. More...
 
void TriggerSound (UUID soundId, UUID ownerID, UUID objectID, UUID parentID, double gain, Vector3 position, UInt64 handle, float radius)
 Trigger a sound in the scene. More...
 
void StopSound (UUID objectID)
 Stop sounds eminating from an object. More...
 
void PreloadSound (UUID objectID, UUID soundID, float radius)
 Preload sound to viewers within range. More...
 
void LoopSound (UUID objectID, UUID soundID, double gain, double radius, bool isMaster, bool isSlave)
 Loop specified sound at specified volume with specified radius, optionally declaring object as new sync master. More...
 
void SendSound (UUID objectID, UUID sound, double volume, bool triggered, byte flags, float radius, bool useMaster, bool isMaster)
 Trigger or play an attached sound in this part's inventory. More...
 
void TriggerSoundLimited (UUID objectID, UUID sound, double volume, Vector3 min, Vector3 max)
 Trigger a sound to be played to all agents within an axis-aligned bounding box. More...
 
void SetSoundQueueing (UUID objectID, bool shouldQueue)
 Set whether sounds on the given prim should be queued. More...
 

Properties

float MaxDistance [get]
 Maximum distance between a sound source and a recipient. More...
 

Detailed Description

Definition at line 33 of file ISoundModule.cs.

Member Function Documentation

void OpenSim.Region.Framework.Interfaces.ISoundModule.LoopSound ( UUID  objectID,
UUID  soundID,
double  gain,
double  radius,
bool  isMaster,
bool  isSlave 
)

Loop specified sound at specified volume with specified radius, optionally declaring object as new sync master.

Parameters
objectIDSound source ID
soundIDSound asset ID
gainSound volume
radiusSound radius
isMasterSet object to sync master if true

Implemented in OpenSim.Region.CoreModules.World.Sound.SoundModule.

void OpenSim.Region.Framework.Interfaces.ISoundModule.PlayAttachedSound ( UUID  soundID,
UUID  ownerID,
UUID  objectID,
double  gain,
Vector3  position,
byte  flags,
float  radius 
)

Play a sound from an object.

Parameters
soundIDSound asset ID
ownerIDSound source owner
objectIDSound source ID
gainSound volume
positionSound source position
flagsSound flags
radiusRadius used to affect gain over distance.

Implemented in OpenSim.Region.CoreModules.World.Sound.SoundModule.

void OpenSim.Region.Framework.Interfaces.ISoundModule.PreloadSound ( UUID  objectID,
UUID  soundID,
float  radius 
)

Preload sound to viewers within range.

Parameters
objectIDSound source ID
soundIDSound asset ID
radiusRadius used to determine which viewers should preload the sound.

Implemented in OpenSim.Region.CoreModules.World.Sound.SoundModule.

void OpenSim.Region.Framework.Interfaces.ISoundModule.SendSound ( UUID  objectID,
UUID  sound,
double  volume,
bool  triggered,
byte  flags,
float  radius,
bool  useMaster,
bool  isMaster 
)

Trigger or play an attached sound in this part's inventory.

Parameters
objectIDSound source ID
soundSound asset ID
volumeSound volume
triggeredTriggered or not.
radiusSound radius
useMasterPlay using sound master
isMasterPlay as sound master

Implemented in OpenSim.Region.CoreModules.World.Sound.SoundModule.

void OpenSim.Region.Framework.Interfaces.ISoundModule.SetSoundQueueing ( UUID  objectID,
bool  shouldQueue 
)

Set whether sounds on the given prim should be queued.

Parameters
objectID
shouldQueue

Implemented in OpenSim.Region.CoreModules.World.Sound.SoundModule.

void OpenSim.Region.Framework.Interfaces.ISoundModule.StopSound ( UUID  objectID)

Stop sounds eminating from an object.

Parameters
objectIDSound source ID

Implemented in OpenSim.Region.CoreModules.World.Sound.SoundModule.

void OpenSim.Region.Framework.Interfaces.ISoundModule.TriggerSound ( UUID  soundId,
UUID  ownerID,
UUID  objectID,
UUID  parentID,
double  gain,
Vector3  position,
UInt64  handle,
float  radius 
)

Trigger a sound in the scene.

Parameters
soundIdSound asset ID
ownerIDSound source owner
objectIDSound source ID
parentIDSound source parent.
gainSound volume
positionSound source position
handle
radiusRadius used to affect gain over distance.

Implemented in OpenSim.Region.CoreModules.World.Sound.SoundModule.

void OpenSim.Region.Framework.Interfaces.ISoundModule.TriggerSoundLimited ( UUID  objectID,
UUID  sound,
double  volume,
Vector3  min,
Vector3  max 
)

Trigger a sound to be played to all agents within an axis-aligned bounding box.

Parameters
objectIDSound source ID
soundSound asset ID
volumeSound volume
minAABB bottom south-west corner
maxAABB top north-east corner

Implemented in OpenSim.Region.CoreModules.World.Sound.SoundModule.

Property Documentation

float OpenSim.Region.Framework.Interfaces.ISoundModule.MaxDistance
get

Maximum distance between a sound source and a recipient.

Definition at line 38 of file ISoundModule.cs.


The documentation for this interface was generated from the following file: