From f5242719b628efb148f05ba44ce78f9818ec617a Mon Sep 17 00:00:00 2001 From: Mark Palange Date: Mon, 23 Feb 2009 18:13:33 +0000 Subject: 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. --- indra/newview/llfloatervoicedevicesettings.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'indra/newview/llfloatervoicedevicesettings.cpp') 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("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; } } -- cgit v1.2.3