#include <audioengine.h>
Collaboration diagram for LLAudioData:
Public Member Functions | |
LLAudioData (const LLUUID &uuid) | |
BOOL | load () |
LLUUID | getID () const |
LLAudioBuffer * | getBuffer () 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 |
LLAudioBuffer * | mBufferp |
BOOL | mHasLocalData |
BOOL | mHasDecodedData |
BOOL | mHasValidData |
Friends | |
class | LLAudioEngine |
Definition at line 341 of file audioengine.h.
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.
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().
Definition at line 355 of file audioengine.h.
References mHasDecodedData.
Referenced by LLAudioEngine::assetCallback(), and LLAudioDecodeMgr::Impl::processQueue().
Definition at line 354 of file audioengine.h.
References mHasLocalData.
Referenced by LLAudioEngine::assetCallback().
Definition at line 356 of file audioengine.h.
References mHasValidData.
Referenced by LLAudioEngine::assetCallback(), and LLAudioDecodeMgr::Impl::processQueue().
friend class LLAudioEngine [friend] |
Definition at line 358 of file audioengine.h.
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] |
LLUUID LLAudioData::mID [protected] |