#include <llaudiosourcevo.h>
Inheritance diagram for LLAudioSourceVO:


| Public Member Functions | |
| LLAudioSourceVO (const LLUUID &sound_id, const LLUUID &owner_id, const F32 gain, LLViewerObject *objectp) | |
| virtual | ~LLAudioSourceVO () | 
| void | update () | 
| void | setGain (const F32 gain) | 
| Private Member Functions | |
| void | updateGain () | 
| Private Attributes | |
| LLPointer< LLViewerObject > | mObjectp | 
| F32 | mActualGain | 
Definition at line 41 of file llaudiosourcevo.h.
| LLAudioSourceVO::LLAudioSourceVO | ( | const LLUUID & | sound_id, | |
| const LLUUID & | owner_id, | |||
| const F32 | gain, | |||
| LLViewerObject * | objectp | |||
| ) | 
Definition at line 41 of file llaudiosourcevo.cpp.
References FALSE, LLAudioSource::setAmbient(), update(), and updateGain().
| LLAudioSourceVO::~LLAudioSourceVO | ( | ) |  [virtual] | 
Reimplemented from LLAudioSource.
Definition at line 60 of file llaudiosourcevo.cpp.
References f, llclamp(), mActualGain, and updateGain().
Referenced by LLViewerObject::adjustAudioGain(), LLViewerObject::setAttachedSound(), and LLViewerObject::updateLOD().
| void LLAudioSourceVO::update | ( | ) |  [virtual] | 
Reimplemented from LLAudioSource.
Definition at line 136 of file llaudiosourcevo.cpp.
References gAgent, LLAgent::getCameraPositionGlobal(), mObjectp, LLAudioSource::mPositionGlobal, LLAudioSource::mVelocity, NULL, LLAudioSource::update(), and updateGain().
Referenced by LLAudioSourceVO().
| void LLAudioSourceVO::updateGain | ( | ) |  [private] | 
Definition at line 66 of file llaudiosourcevo.cpp.
References LLViewerParcelMgr::canHearSound(), FALSE, LLMute::flagObjectSounds, gMuteListp, gParcelMgr, LLMuteList::isMuted(), mActualGain, LLAudioSource::mGain, mObjectp, LLAudioSource::mOwnerID, and TRUE.
Referenced by LLAudioSourceVO(), setGain(), and update().
| F32 LLAudioSourceVO::mActualGain  [private] | 
| LLPointer<LLViewerObject> LLAudioSourceVO::mObjectp  [private] | 
Definition at line 53 of file llaudiosourcevo.h.
Referenced by update(), updateGain(), and ~LLAudioSourceVO().
 1.4.7
 1.4.7