summaryrefslogtreecommitdiff
path: root/indra/llaudio/llaudioengine.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-05-29 17:50:26 -0400
committerOz Linden <oz@lindenlab.com>2012-05-29 17:50:26 -0400
commit0f6ba6c514ea5fbb320a8abb240ff28475ea614f (patch)
treeb6cb450cfb4b4d724ad5aa296fec3e4a99695ae0 /indra/llaudio/llaudioengine.h
parent6ea98483871d08c4e829fa85d9eced578850e88b (diff)
parenta46b820b0cce4939d9e7ccded0ff9e7a27105e90 (diff)
merge changes for DRTVWR-153
Diffstat (limited to 'indra/llaudio/llaudioengine.h')
-rw-r--r--indra/llaudio/llaudioengine.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/llaudio/llaudioengine.h b/indra/llaudio/llaudioengine.h
index 28b69e1973..df1e4dc305 100644
--- a/indra/llaudio/llaudioengine.h
+++ b/indra/llaudio/llaudioengine.h
@@ -372,10 +372,12 @@ public:
bool hasLocalData() const { return mHasLocalData; }
bool hasDecodedData() const { return mHasDecodedData; }
+ bool hasCompletedDecode() const { return mHasCompletedDecode; }
bool hasValidData() const { return mHasValidData; }
void setHasLocalData(const bool hld) { mHasLocalData = hld; }
void setHasDecodedData(const bool hdd) { mHasDecodedData = hdd; }
+ void setHasCompletedDecode(const bool hcd) { mHasCompletedDecode = hcd; }
void setHasValidData(const bool hvd) { mHasValidData = hvd; }
friend class LLAudioEngine; // Severe laziness, bad.
@@ -383,9 +385,10 @@ public:
protected:
LLUUID mID;
LLAudioBuffer *mBufferp; // If this data is being used by the audio system, a pointer to the buffer will be set here.
- bool mHasLocalData;
- bool mHasDecodedData;
- bool mHasValidData;
+ bool mHasLocalData; // Set true if the sound asset file is available locally
+ bool mHasDecodedData; // Set true if the sound file has been decoded
+ bool mHasCompletedDecode; // Set true when the sound is decoded
+ bool mHasValidData; // Set false if decoding failed, meaning the sound asset is bad
};