diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 64afc23b47..f8074a57ed 100755 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -692,11 +692,18 @@ void LLFloater::openFloater(const LLSD& key) && (!getVisible() || isMinimized())) { //Don't play a sound for incoming voice call based upon chat preference setting - bool playSound = !(getName() == "incoming call" && gSavedSettings.getBOOL("PlaySoundIncomingVoiceCall") == FALSE); + + // UI Sounds + // bool playSound = !(getName() == "incoming call" && gSavedSettings.getBOOL("PlaySoundIncomingVoiceCall") == FALSE); + bool playSound = !(getName() == "incoming call" && gSavedSettings.getBOOL("PlayModeUISndIncomingVoiceCall") == FALSE); + // if(playSound) { - make_ui_sound("UISndWindowOpen"); + // UI Sounds + // make_ui_sound("UISndWindowOpen"); + make_ui_sound("UISndIncomingVoiceCall"); + // } } diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 0e4ed2c9af..c64364e347 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -9318,17 +9318,6 @@ Change of this parameter will affect the layout of buttons in notification toast Value 1 - PlaySoundIncomingVoiceCall - - Comment - Plays a sound when have an incoming voice call. - Persist - 1 - Type - Boolean - Value - 1 - PluginAttachDebuggerToPlugins Comment @@ -14825,6 +14814,17 @@ Change of this parameter will affect the layout of buttons in notification toast Value 10.0 + UISndIncomingVoiceCall + + Comment + Sound file for incoming voice call (uuid for sound asset) + Persist + 1 + Type + String + Value + c80260ba-41fd-8a46-768a-6bf236360e3a + UISndInvalidOp Comment @@ -19422,6 +19422,17 @@ Change of this parameter will affect the layout of buttons in notification toast Value 1 + PlayModeUISndIncomingVoiceCall + + Comment + Plays a sound when have an incoming voice call. Holds state for Prefs > Sound/Media > UI Sounds - UISndIncomingVoiceCall. + Persist + 1 + Type + Boolean + Value + 1 + PlayModeUISndInvalidOp Comment diff --git a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml index c63f5fb5ef..6a5176a868 100755 --- a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml @@ -3183,6 +3183,62 @@ Hover your mouse cursor over UUID field to show its default value. left_pad="1" width="120" /> + + Voice call: + + + + + + + + Rozmowa głosowa: + +