Pass source object UUID as const ref
parent
e3b3113184
commit
ad1605950e
|
|
@ -822,7 +822,7 @@ F64 LLAudioEngine::mapWindVecToPan(LLVector3 wind_vec)
|
|||
|
||||
|
||||
void LLAudioEngine::triggerSound(const LLUUID &audio_uuid, const LLUUID& owner_id, const F32 gain,
|
||||
const S32 type, const LLVector3d &pos_global, const LLUUID source_object)
|
||||
const S32 type, const LLVector3d &pos_global, const LLUUID& source_object)
|
||||
{
|
||||
// Create a new source (since this can't be associated with an existing source.
|
||||
//LL_INFOS() << "Localized: " << audio_uuid << LL_ENDL;
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ public:
|
|||
void triggerSound(const LLUUID &sound_id, const LLUUID& owner_id, const F32 gain,
|
||||
const S32 type = LLAudioEngine::AUDIO_TYPE_NONE,
|
||||
const LLVector3d &pos_global = LLVector3d::zero,
|
||||
const LLUUID source_object = LLUUID::null);
|
||||
const LLUUID& source_object = LLUUID::null);
|
||||
// NaCl End
|
||||
void triggerSound(SoundData& soundData);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue