summaryrefslogtreecommitdiff
path: root/indra/llaudio/llaudioengine_fmodstudio.cpp
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_fmodstudio.cpp
parentcaa780fd3a752377f86f7928c8b374951cbe3783 (diff)
SL-16339 Rename setAmbient to not cause confusion
setAmbient has nothing to do with ambient sounds
Diffstat (limited to 'indra/llaudio/llaudioengine_fmodstudio.cpp')
-rw-r--r--indra/llaudio/llaudioengine_fmodstudio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llaudio/llaudioengine_fmodstudio.cpp b/indra/llaudio/llaudioengine_fmodstudio.cpp
index 70b3a08473..5450577134 100644
--- a/indra/llaudio/llaudioengine_fmodstudio.cpp
+++ b/indra/llaudio/llaudioengine_fmodstudio.cpp
@@ -519,9 +519,9 @@ void LLAudioChannelFMODSTUDIO::update3DPosition()
return;
}
- if (mCurrentSourcep->isAmbient())
+ if (mCurrentSourcep->isForcedPriority())
{
- // Ambient sound, don't need to do any positional updates.
+ // Prioritized UI and preview sounds don't need to do any positional updates.
set3DMode(false);
}
else