summaryrefslogtreecommitdiff
path: root/indra/newview/llvieweraudio.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-06-21 20:55:39 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-06-21 20:55:39 +0300
commit8369276a4967185985cb5957b22cda6897e2df29 (patch)
tree9a83a2be991f3464d11ebb9f7cdf5588ece8dd0f /indra/newview/llvieweraudio.cpp
parenta2d91f3160ec50a4208214b612d41868b23e3c35 (diff)
DRTVWR-493 LLViewerMedia to singleton
Diffstat (limited to 'indra/newview/llvieweraudio.cpp')
-rw-r--r--indra/newview/llvieweraudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvieweraudio.cpp b/indra/newview/llvieweraudio.cpp
index 7ce9d858dd..f81c89f898 100644
--- a/indra/newview/llvieweraudio.cpp
+++ b/indra/newview/llvieweraudio.cpp
@@ -463,7 +463,7 @@ void audio_update_volume(bool force_update)
F32 media_volume = gSavedSettings.getF32("AudioLevelMedia");
BOOL media_muted = gSavedSettings.getBOOL("MuteMedia");
media_volume = mute_volume * master_volume * media_volume;
- LLViewerMedia::setVolume( media_muted ? 0.0f : media_volume );
+ LLViewerMedia::getInstance()->setVolume( media_muted ? 0.0f : media_volume );
// Voice
if (LLVoiceClient::getInstance())