summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2023-12-07 13:59:22 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2023-12-15 21:54:19 +0200
commita069a21d318abd4eded46556c3252fec08eea84c (patch)
tree626eea96fb59c68b8e76b095a73ab684f1042a98
parent5accc1feff322c89e63fbfa0f3ac6911abcf6436 (diff)
SL-20696 FIXED llLoopSoundSlave producing no sound since viewer update
-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();