diff options
author | Callum Prentice <callum@gmail.com> | 2016-10-05 13:15:25 -0700 |
---|---|---|
committer | Callum Prentice <callum@gmail.com> | 2016-10-05 13:15:25 -0700 |
commit | 56953b146aa9d4367b6cf5e9e604ad278258418e (patch) | |
tree | 0c54720d7191651c8d0ddb985e2850591c6aa2ef /indra/llplugin/llpluginclassmedia.cpp | |
parent | 1be15b3d3a3cb73cf244ea108839054872a27344 (diff) |
Fix MAINT-6730 Media audio does not play when Media volume slider is set to max
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.cpp')
-rw-r--r-- | indra/llplugin/llpluginclassmedia.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp index 5469ec0f5c..d672650658 100644 --- a/indra/llplugin/llpluginclassmedia.cpp +++ b/indra/llplugin/llpluginclassmedia.cpp @@ -116,7 +116,7 @@ void LLPluginClassMedia::reset() mMediaHeight = 0; mDirtyRect = LLRect::null; mAutoScaleMedia = false; - mRequestedVolume = 1.0f; + mRequestedVolume = 0.0f; mPriority = PRIORITY_NORMAL; mLowPrioritySizeLimit = LOW_PRIORITY_TEXTURE_SIZE_DEFAULT; mAllowDownsample = false; @@ -1456,8 +1456,6 @@ void LLPluginClassMedia::setVolume(float volume) LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME, "set_volume"); - LL_INFOS() << "@@@@@@@@@@ volume is " << volume << LL_ENDL; - message.setValueReal("volume", volume); sendMessage(message); |