llaudiosourcevo.h

Go to the documentation of this file.
00001 
00033 #ifndef LL_LLAUDIOSOURCEVO_H
00034 #define LL_LLAUDIOSOURCEVO_H
00035 
00036 #include "audioengine.h"
00037 #include "llviewerobject.h"
00038 
00039 class LLViewerObject;
00040 
00041 class LLAudioSourceVO : public LLAudioSource
00042 {
00043 public:
00044         LLAudioSourceVO(const LLUUID &sound_id, const LLUUID& owner_id, const F32 gain, LLViewerObject *objectp);
00045         virtual ~LLAudioSourceVO();
00046         /*virtual*/     void update();
00047         /*virtual*/ void setGain(const F32 gain);
00048 
00049 private:
00050         void updateGain();
00051 
00052 private:
00053         LLPointer<LLViewerObject>       mObjectp;
00054         F32                                                     mActualGain; // The "real" gain, when not off due to parcel effects
00055 };
00056 
00057 #endif // LL_LLAUDIOSOURCEVO_H

Generated on Thu Jul 1 06:08:19 2010 for Second Life Viewer by  doxygen 1.4.7