#include <audioengine.h>
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 343 of file audioengine.h.
LLAudioData::LLAudioData | ( | const LLUUID & | uuid | ) |
Definition at line 1612 of file audioengine.cpp.
References LLAssetType::AT_SOUND, gAssetStorage, LLAudioEngine::hasDecodedFile(), LLAssetStorage::hasLocalAsset(), LLUUID::isNull(), mHasDecodedData, mHasLocalData, and TRUE.
BOOL LLAudioData::load | ( | ) |
Definition at line 1638 of file audioengine.cpp.
References LLAudioEngine::cleanupBuffer(), FALSE, 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().
LLUUID LLAudioData::getID | ( | ) | const [inline] |
Definition at line 349 of file audioengine.h.
References mID.
Referenced by LLAudioSource::addAudioData(), LLViewerObject::setAttachedSound(), and LLAudioEngine::startNextTransfer().
LLAudioBuffer* LLAudioData::getBuffer | ( | ) | const [inline] |
Definition at line 350 of file audioengine.h.
References mBufferp.
Referenced by LLAudioSource::getCurrentBuffer(), LLAudioSource::setupChannel(), and LLAudioEngine::updateBufferForData().
BOOL LLAudioData::hasLocalData | ( | ) | const [inline] |
Definition at line 352 of file audioengine.h.
References mHasLocalData.
Referenced by LLAudioEngine::startNextTransfer(), and LLAudioEngine::updateBufferForData().
BOOL LLAudioData::hasDecodedData | ( | ) | const [inline] |
Definition at line 353 of file audioengine.h.
References mHasDecodedData.
Referenced by LLAudioSource::hasPendingPreloads(), and LLAudioEngine::updateBufferForData().
BOOL LLAudioData::hasValidData | ( | ) | const [inline] |
Definition at line 354 of file audioengine.h.
References mHasValidData.
Referenced by LLAudioEngine::startNextTransfer().
void LLAudioData::setHasLocalData | ( | const BOOL | hld | ) | [inline] |
Definition at line 356 of file audioengine.h.
References mHasLocalData.
Referenced by LLAudioEngine::assetCallback().
void LLAudioData::setHasDecodedData | ( | const BOOL | hdd | ) | [inline] |
Definition at line 357 of file audioengine.h.
References mHasDecodedData.
Referenced by LLAudioEngine::assetCallback(), and LLAudioDecodeMgr::Impl::processQueue().
void LLAudioData::setHasValidData | ( | const BOOL | hvd | ) | [inline] |
Definition at line 358 of file audioengine.h.
References mHasValidData.
Referenced by LLAudioEngine::assetCallback(), and LLAudioDecodeMgr::Impl::processQueue().
friend class LLAudioEngine [friend] |
Definition at line 360 of file audioengine.h.
LLUUID LLAudioData::mID [protected] |
LLAudioBuffer* LLAudioData::mBufferp [protected] |
Definition at line 364 of file audioengine.h.
Referenced by getBuffer(), LLAudioEngine::getFreeBuffer(), LLAudioEngine::idle(), and load().
BOOL LLAudioData::mHasLocalData [protected] |
Definition at line 365 of file audioengine.h.
Referenced by hasLocalData(), LLAudioData(), and setHasLocalData().
BOOL LLAudioData::mHasDecodedData [protected] |
Definition at line 366 of file audioengine.h.
Referenced by hasDecodedData(), LLAudioData(), and setHasDecodedData().
BOOL LLAudioData::mHasValidData [protected] |