mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
deduplicating code into a single LoopSound method
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
22693304fb
commit
9df510157e
@@ -86,14 +86,15 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
void PreloadSound(UUID objectID, UUID soundID, float radius);
|
||||
|
||||
/// <summary>
|
||||
/// Declare object as new sync master, play specified sound at
|
||||
/// specified volume with specified radius.
|
||||
/// Loop specified sound at specified volume with specified radius,
|
||||
/// optionally declaring object as new sync master.
|
||||
/// </summary>
|
||||
/// <param name="objectID">Sound source ID</param>
|
||||
/// <param name="soundID">Sound asset ID</param>
|
||||
/// <param name="gain">Sound volume</param>
|
||||
/// <param name="radius">Sound radius</param>
|
||||
void LoopSoundMaster(UUID objectID, UUID soundID, double gain,
|
||||
double radius);
|
||||
/// <param name="isMaster">Set object to sync master if true</param>
|
||||
void LoopSound(UUID objectID, UUID soundID, double gain,
|
||||
double radius, bool isMaster);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user