void TrackObjectPresentationSound::setEnable(bool enabled) { if (enabled != m_enabled) { m_enabled = enabled; if (enabled) triggerSound(true); else stopSound(); } }
void LLAudioEngine::triggerSound(SoundData& soundData) { triggerSound(soundData.audio_uuid, soundData.owner_id, soundData.gain, soundData.type, soundData.pos_global); }