LLAudioData Class Reference

#include <audioengine.h>

Collaboration diagram for LLAudioData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLAudioData (const LLUUID &uuid)
BOOL load ()
LLUUID getID () const
LLAudioBuffergetBuffer () const
BOOL hasLocalData () const
BOOL hasDecodedData () const
BOOL hasValidData () const
void setHasLocalData (const BOOL hld)
void setHasDecodedData (const BOOL hdd)
void setHasValidData (const BOOL hvd)

Protected Attributes

LLUUID mID
LLAudioBuffermBufferp
BOOL mHasLocalData
BOOL mHasDecodedData
BOOL mHasValidData

Friends

class LLAudioEngine

Detailed Description

Definition at line 341 of file audioengine.h.


Constructor & Destructor Documentation

LLAudioData::LLAudioData ( const LLUUID uuid  ) 

Definition at line 1599 of file audioengine.cpp.

References LLAssetType::AT_SOUND, gAssetStorage, gAudiop, LLAudioEngine::hasDecodedFile(), LLAssetStorage::hasLocalAsset(), LLUUID::isNull(), mHasDecodedData, mHasLocalData, and TRUE.


Member Function Documentation

LLAudioBuffer* LLAudioData::getBuffer (  )  const [inline]

Definition at line 348 of file audioengine.h.

References mBufferp.

Referenced by LLAudioSource::getCurrentBuffer(), LLAudioSource::setupChannel(), and LLAudioEngine::updateBufferForData().

LLUUID LLAudioData::getID (  )  const [inline]

Definition at line 347 of file audioengine.h.

References mID.

Referenced by LLAudioSource::addAudioData(), LLFloaterEventLog::logObject(), LLViewerObject::setAttachedSound(), and LLAudioEngine::startNextTransfer().

BOOL LLAudioData::hasDecodedData (  )  const [inline]

Definition at line 351 of file audioengine.h.

References mHasDecodedData.

Referenced by LLAudioEngine::updateBufferForData().

BOOL LLAudioData::hasLocalData (  )  const [inline]

Definition at line 350 of file audioengine.h.

References mHasLocalData.

Referenced by LLAudioEngine::startNextTransfer(), and LLAudioEngine::updateBufferForData().

BOOL LLAudioData::hasValidData (  )  const [inline]

Definition at line 352 of file audioengine.h.

References mHasValidData.

Referenced by LLAudioEngine::startNextTransfer().

BOOL LLAudioData::load (  ) 

Definition at line 1625 of file audioengine.cpp.

References LLAudioEngine::cleanupBuffer(), FALSE, gAudiop, gDirUtilp, LLDir::getExpandedFilename(), LLAudioEngine::getFreeBuffer(), LL_PATH_CACHE, llendl, llinfos, LLAudioBuffer::loadWAV(), LLAudioBuffer::mAudioDatap, mBufferp, mID, NULL, LLUUID::toString(), TRUE, and UUID_STR_LENGTH.

Referenced by LLAudioEngine::updateBufferForData().

void LLAudioData::setHasDecodedData ( const BOOL  hdd  )  [inline]

Definition at line 355 of file audioengine.h.

References mHasDecodedData.

Referenced by LLAudioEngine::assetCallback(), and LLAudioDecodeMgr::Impl::processQueue().

void LLAudioData::setHasLocalData ( const BOOL  hld  )  [inline]

Definition at line 354 of file audioengine.h.

References mHasLocalData.

Referenced by LLAudioEngine::assetCallback().

void LLAudioData::setHasValidData ( const BOOL  hvd  )  [inline]

Definition at line 356 of file audioengine.h.

References mHasValidData.

Referenced by LLAudioEngine::assetCallback(), and LLAudioDecodeMgr::Impl::processQueue().


Friends And Related Function Documentation

friend class LLAudioEngine [friend]

Definition at line 358 of file audioengine.h.


Member Data Documentation

LLAudioBuffer* LLAudioData::mBufferp [protected]

Definition at line 362 of file audioengine.h.

Referenced by getBuffer(), LLAudioEngine::getFreeBuffer(), and load().

BOOL LLAudioData::mHasDecodedData [protected]

Definition at line 364 of file audioengine.h.

Referenced by hasDecodedData(), LLAudioData(), and setHasDecodedData().

BOOL LLAudioData::mHasLocalData [protected]

Definition at line 363 of file audioengine.h.

Referenced by hasLocalData(), LLAudioData(), and setHasLocalData().

BOOL LLAudioData::mHasValidData [protected]

Definition at line 365 of file audioengine.h.

Referenced by hasValidData(), and setHasValidData().

LLUUID LLAudioData::mID [protected]

Definition at line 361 of file audioengine.h.

Referenced by getID(), and load().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:10 2010 for Second Life Viewer by  doxygen 1.4.7