summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermedia.h
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-06-25 18:51:34 +0300
committermaxim_productengine <mnikolenko@productengine.com>2018-06-25 18:51:34 +0300
commit8602c5827caf40b654e9a6fed0d345fb0eee610b (patch)
tree67669481446184fbcb4f995b6c297b4fcc7c77bf /indra/newview/llviewermedia.h
parent08fd73410e9a7ffb64acb15422fc6836230aa588 (diff)
MAINT-8457 FIXED "Mute" switching cancels the volume settings of Nearby Media
Diffstat (limited to 'indra/newview/llviewermedia.h')
-rw-r--r--indra/newview/llviewermedia.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewermedia.h b/indra/newview/llviewermedia.h
index c52960dfcf..e2e758befb 100644
--- a/indra/newview/llviewermedia.h
+++ b/indra/newview/llviewermedia.h
@@ -216,6 +216,7 @@ public:
void skipBack(F32 step_scale);
void skipForward(F32 step_scale);
void setVolume(F32 volume);
+ void setMute(bool mute);
void updateVolume();
F32 getVolume();
void focus(bool focus);
@@ -448,6 +449,7 @@ private:
bool mNavigateServerRequest;
bool mMediaSourceFailed;
F32 mRequestedVolume;
+ F32 mPreviousVolume;
bool mIsMuted;
bool mNeedsMuteCheck;
int mPreviousMediaState;