summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatervoicedevicesettings.cpp
diff options
context:
space:
mode:
authorMark Palange <palange@lindenlab.com>2009-02-23 18:13:33 +0000
committerMark Palange <palange@lindenlab.com>2009-02-23 18:13:33 +0000
commitf5242719b628efb148f05ba44ce78f9818ec617a (patch)
tree9ee49dd74084dc2846d95ea767b11acd1ccbb88a /indra/newview/llfloatervoicedevicesettings.cpp
parentabdc99f21b542c4fea67030ddbd7166c9d1c6c63 (diff)
QAR-1274 - Fixing trunk bug resulting from !.22 RC fix + featurettes 4 integration.
svn merge -r112608 svn+ssh://svn.lindenlab.com/svn/linden/qa/qar-1274 to trunk.
Diffstat (limited to 'indra/newview/llfloatervoicedevicesettings.cpp')
-rw-r--r--indra/newview/llfloatervoicedevicesettings.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfloatervoicedevicesettings.cpp b/indra/newview/llfloatervoicedevicesettings.cpp
index 92b8e3397f..2922628786 100644
--- a/indra/newview/llfloatervoicedevicesettings.cpp
+++ b/indra/newview/llfloatervoicedevicesettings.cpp
@@ -129,19 +129,23 @@ void LLPanelVoiceDeviceSettings::apply()
{
s = mCtrlInputDevices->getSimple();
gSavedSettings.setString("VoiceInputAudioDevice", s);
+ mInputDevice = s;
}
if(mCtrlOutputDevices)
{
s = mCtrlOutputDevices->getSimple();
gSavedSettings.setString("VoiceOutputAudioDevice", s);
+ mOutputDevice = s;
}
// assume we are being destroyed by closing our embedding window
LLSlider* volume_slider = getChild<LLSlider>("mic_volume_slider");
if(volume_slider)
{
- gSavedSettings.setF32("AudioLevelMic", (F32)volume_slider->getValue().asReal());
+ F32 slider_value = (F32)volume_slider->getValue().asReal();
+ gSavedSettings.setF32("AudioLevelMic", slider_value);
+ mMicVolume = slider_value;
}
}