summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-12-07 17:37:41 +0200
committerGitHub <noreply@github.com>2023-12-07 17:37:41 +0200
commitd109b84c8d80a628b95afdc52b84962114b8c6fd (patch)
tree5711a54fedb356399f28e57512d898961dd02b11 /indra
parent1be284105e81b9dfe09cce2771e74c5ce1cc5e19 (diff)
SL-20696 FIXED llLoopSoundSlave producing no sound since viewer update
Diffstat (limited to 'indra')
-rw-r--r--indra/llaudio/llaudioengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llaudio/llaudioengine.cpp b/indra/llaudio/llaudioengine.cpp
index a387bb23cd..ece0a12a7a 100644
--- a/indra/llaudio/llaudioengine.cpp
+++ b/indra/llaudio/llaudioengine.cpp
@@ -398,7 +398,7 @@ void LLAudioEngine::idle()
for (source_map::value_type& src_pair : mAllSources)
{
LLAudioSource *sourcep = src_pair.second;
- if (sourcep->isMuted() && sourcep->isSyncMaster() && sourcep->getPriority() > max_sm_priority)
+ if (!sourcep->isMuted() && sourcep->isSyncMaster() && sourcep->getPriority() > max_sm_priority)
{
sync_masterp = sourcep;
master_channelp = sync_masterp->getChannel();