summaryrefslogtreecommitdiff
path: root/indra/llaudio/llaudioengine.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-11-26 22:56:20 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-11-26 23:52:33 +0200
commit993ac3b95ca79312b3309a2d539b19fe6f89c318 (patch)
tree5430cbe10cb7d063ca0aa526c2c758c2c011a966 /indra/llaudio/llaudioengine.h
parentcaa780fd3a752377f86f7928c8b374951cbe3783 (diff)
SL-16339 Rename setAmbient to not cause confusion
setAmbient has nothing to do with ambient sounds
Diffstat (limited to 'indra/llaudio/llaudioengine.h')
-rw-r--r--indra/llaudio/llaudioengine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llaudio/llaudioengine.h b/indra/llaudio/llaudioengine.h
index 97674f15f7..bba4492daa 100644
--- a/indra/llaudio/llaudioengine.h
+++ b/indra/llaudio/llaudioengine.h
@@ -277,8 +277,8 @@ public:
void addAudioData(LLAudioData *adp, bool set_current = TRUE);
- void setAmbient(const bool ambient) { mAmbient = ambient; }
- bool isAmbient() const { return mAmbient; }
+ void setForcedPriority(const bool ambient) { mForcedPriority = ambient; }
+ bool isForcedPriority() const { return mForcedPriority; }
void setLoop(const bool loop) { mLoop = loop; }
bool isLoop() const { return mLoop; }
@@ -331,7 +331,7 @@ protected:
F32 mPriority;
F32 mGain;
bool mSourceMuted;
- bool mAmbient;
+ bool mForcedPriority; // ignore mute, set high priority, researved for sound preview and UI
bool mLoop;
bool mSyncMaster;
bool mSyncSlave;