summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-01-25 17:29:57 +0200
committerMike Antipov <mantipov@productengine.com>2010-01-25 17:29:57 +0200
commit6e932911d5b0a02b44caf3bf81a9c00fd0e1dc89 (patch)
tree710bbec0b2ae3743d501924747a868c19fdae952 /indra/newview/llvoiceclient.cpp
parent2ea3fd95635073e68aa7626ea24c540717190127 (diff)
Related to normal bug EXT-4108 ([BSI] Voice volume sliders do not preserve settings per resident between voice sessions)
- moved default internal voice level value into application settings - cleanned up include list in llmutelist.cpp --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r--indra/newview/llvoiceclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index 68b271d6cb..8ca0fd6ef6 100644
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -1153,7 +1153,7 @@ void LLSpeakerVolumeStorage::storeSpeakerVolume(const LLUUID& speaker_id, S32 vo
S32 LLSpeakerVolumeStorage::getSpeakerVolume(const LLUUID& speaker_id)
{
// default internal level of user voice.
- static const S32 DEFAULT_INTERNAL_VOLUME_LEVEL = 100;
+ const static LLUICachedControl<S32> DEFAULT_INTERNAL_VOLUME_LEVEL("VoiceDefaultInternalLevel", 100);
S32 ret_val = DEFAULT_INTERNAL_VOLUME_LEVEL;
speaker_data_map_t::const_iterator it = mSpeakersData.find(speaker_id);