Pass source object UUID as const ref

Ansariel 2014-06-19 17:24:50 +02:00
parent e3b3113184
commit ad1605950e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);