<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
follows="all"
height="408"
label="Sounds"
layout="topleft"
mouse_opaque="false"
left="0"
name="Preference Media panel"
top="45"
width="510">
 <scroll_container
 color="Transparent"
 follows="all"
 layout="topleft"
 name="panel_scroll"
 mouse_opaque="false"
 top="0"
 width="509"
 height="407">
  <panel
  follows="top|left|right"
  height="620"
  label="Sounds"
  layout="topleft"
  left="0"
  name="audio_media_panel"
  top="0"
  width="495">
   <panel
 follows="left|top|right"
 height="20"
 bg_visible="true"
 bg_alpha_color="0.10 0.43 0.77 0.28"
 layout="topleft"
 mouse_opaque="false"
 left="1"
 name="title"
 top="0"
 width="492"/>
 <text
 name="show_ims_in_label"
 follows="left|top"
 layout="topleft"
 left="10"
 height="12"
 width="350"
 top_delta="4">
 Volume Controls:
 </text>
   <slider
   control_name="AudioLevelMaster"
   follows="left|top"
   font.style="BOLD"
   height="14"
   increment="0.025"
   initial_value="0.5"
   label="Master volume"
   label_width="150"
   layout="topleft"
   left="10"
   name="System Volume"
   tool_tip="This option controls the volume of all sounds in the Viewer. This option works like a global sound volume multiplier, setting this to 10% means that even 100% sound volume is realistically still 10%."
   show_text="true"
   can_edit_text="true"
   slider_label.halign="left"
   top_pad="16"
   volume="true"/>
   <button
   control_name="MuteAudio"
   follows="top|left"
   height="16"
   image_selected="AudioMute_Off"
   image_unselected="Audio_Off"
   is_toggle="true"
   layout="topleft"
   left_pad="10"
   top_delta="-1"
   name="mute_audio"
   tab_stop="false"
   width="16" />
   <icon
  follows="top|right"
  height="1"
  image_name="Prefs_Separator"
  color="1 1 1 1"
  layout="topleft"
  name="separator"
  mouse_opaque="false"
  width="450"
  left="25"
  top_pad="4"/>
   <slider
   control_name="AudioLevelUI"
   disabled_control="MuteAudio"
   follows="left|top"
   height="14"
   increment="0.025"
   initial_value="0.5"
   label="Interface"
   label_width="150"
   layout="topleft"
   left="10"
   name="UI Volume"
   tool_tip="This option controls the sound volume of all sounds coming from the Viewer interface such as buttons, tabs, IM messages and so on."
   show_text="true"
   can_edit_text="true"
   slider_label.halign="left"
   top_pad="5"
   volume="true"/>
   <button
   control_name="MuteUI"
   disabled_control="MuteAudio"
   follows="top|left"
   height="16"
   image_selected="AudioMute_Off"
   image_unselected="Audio_Off"
   is_toggle="true"
   layout="topleft"
   left_pad="10"
   name="mute_audio"
   tab_stop="false"
   width="16" />
   <slider
   control_name="AudioLevelAmbient"
   disabled_control="MuteAudio"
   follows="left|top"
   height="14"
   increment="0.025"
   initial_value="0.5"
   label="Ambient"
   label_width="150"
   layout="topleft"
   left="10"
   name="Ambient Volume"
   tool_tip="This option controls the sound volume of all sounds coming from the natural environment of regions in Second Life such as birds, flies and other random sounds."
   show_text="true"
   can_edit_text="true"
   slider_label.halign="left"
   top_pad="1"
   volume="true"/>
   <button
   control_name="MuteAmbient"
   disabled_control="MuteAudio"
   follows="top|left"
   height="16"
   image_selected="AudioMute_Off"
   image_unselected="Audio_Off"
   is_toggle="true"
   layout="topleft"
   left_pad="10"
   name="mute_audio"
   tab_stop="false"
   width="16" />
   <slider
   control_name="AudioLevelWind"
   disabled_control="MuteAudio"
   follows="left|top"
   height="14"
   increment="0.025"
   initial_value="0.5"
   label="Hover Wind"
   label_width="150"
   layout="topleft"
   left="10"
   name="Wind Volume"
   tool_tip="This option controls the sound volume of the wind when flying around or hovering on the spot."
   show_text="true"
   can_edit_text="true"
   slider_label.halign="left"
   top_pad="1"
   volume="true"/>
   <slider
   control_name="AudioLevelSFX"
   disabled_control="MuteAudio"
   follows="left|top"
   height="14"
   increment="0.025"
   initial_value="0.5"
   label="Sound Effects"
   label_width="150"
   slider_label.halign="left"
   layout="topleft"
   left="10"
   name="SFX Volume"
   tool_tip="This option controls the sound volume of all generic sounds coming from objects, gestures, avatars and scripts."
   show_text="true"
   can_edit_text="true"
   top_pad="1"
   volume="true"/>
   <button
   control_name="MuteSounds"
   disabled_control="MuteAudio"
   follows="top|left"
   height="16"
   image_selected="AudioMute_Off"
   image_unselected="Audio_Off"
   is_toggle="true"
   layout="topleft"
   left_pad="10"
   name="mute_audio"
   tab_stop="false"
   width="16" />
   <slider
   control_name="AudioLevelRolloff"
   disabled_control="MuteAudio"
   follows="left|top"
   height="14"
   increment="0.025"
   initial_value="0"
   label="Sound Rolloff"
   label_width="150"
   layout="topleft"
   left="10"
   top_pad="1"
   name="Rolloff"
   tool_tip="This option controls the strength at which sounds should fade in volume over distance."
   show_text="true"
   can_edit_text="true"
   slider_label.halign="left"
   volume="true"/>
   <check_box
   label_text.halign="left"
   follows="left|top"
   height="16"
   control_name="EnableVoiceChat"
   disabled_control="CmdLineDisableVoice"
   label="Enable Voice Chat"
   tool_tip="This option toggles whether you want to be able to hear and use voice chat both in nearby chat and IM/group calls or not."
   layout="topleft"
   left="10"
   top_pad="7"
   name="enable_voice_check"
   width="70"/>
   <slider
   control_name="AudioLevelVoice"
   disabled_control="MuteAudio"
   follows="left|top"
   height="14"
   increment="0.025"
   initial_value="0.5"
   label="Voice Chat"
   label_width="150"
   layout="topleft"
   left="10"
   top_pad="6"
   name="Voice Volume"
   tool_tip="This option controls the sound volume of voice chat used by other avatars or IM/group calls."
   show_text="true"
   can_edit_text="true"
   slider_label.halign="left"
   volume="true"/>
   <button
   control_name="MuteVoice"
   disabled_control="MuteAudio"
   follows="top|left"
   height="16"
   image_selected="AudioMute_Off"
   image_unselected="Audio_Off"
   is_toggle="true"
   layout="topleft"
   left_pad="10"
   name="mute_audio"
   tab_stop="false"
   width="16" />
   <check_box
   control_name="AudioStreamingMusic"
   height="16"
   label="Enable Streaming Music"
   disabled_control="MuteAudio"
   tool_tip="This option toggles whether you want to be able to hear music streams or not. This option is particulary useful in combination with auto play media."
   layout="topleft"
   left="10"
   top_pad="7"
   name="music_enabled"
   width="350"/>
   <slider
   control_name="AudioLevelMusic"
   disabled_control="MuteAudio"
   follows="left|top"
   height="14"
   increment="0.025"
   initial_value="0.5"
   label="Streaming Music"
   label_width="150"
   layout="topleft"
   left="10"
   name="Music Volume"
   tool_tip="This option controls the sound volume of the music stream on a parcel."
   slider_label.halign="left"
   show_text="true"
   can_edit_text="true"
   top_pad="6"
   volume="true"/>
   <button
   control_name="MuteMusic"
   disabled_control="MuteAudio"
   follows="top|left"
   height="16"
   image_selected="AudioMute_Off"
   image_unselected="Audio_Off"
   is_toggle="true"
   layout="topleft"
   left_pad="10"
   name="mute_audio"
   tab_stop="false"
   width="16" />
   <check_box
   label_text.halign="left"
   follows="left|top"
   height="16"
   control_name="AudioStreamingMedia"
   disabled_control="MuteAudio"
   label="Enable Streaming Media"
   tool_tip="This option toggles whether you want to be able to hear media streams or not. Media streams are not music streams but can contain videos playing music. This option is particulary useful in combination with auto play media."
   layout="topleft"
   left="10"
   top_pad="7"
   name="enable_media"
   width="110"/>
   <slider
   control_name="AudioLevelMedia"
   disabled_control="MuteAudio"
   follows="left|top"
   height="14"
   increment="0.025"
   initial_value="0.5"
   label="Streaming Media"
   label_width="150"
   layout="topleft"
   left="10"
   name="Media Volume"
   tool_tip="This option controls the sound volume for all media streams and other media such as media-on-a-prim."
   show_text="true"
   can_edit_text="true"
   slider_label.halign="left"
   top_pad="6"
   volume="true"/>
   <button
   control_name="MuteMedia"
   disabled_control="MuteAudio"
   follows="top|left"
   height="16"
   image_selected="AudioMute_Off"
   image_unselected="Audio_Off"
   is_toggle="true"
   layout="topleft"
   left_pad="10"
   name="mute_audio"
   tab_stop="false"
   width="16" />
   <slider
   control_name="MediaRollOffRate"
   disabled_control="MuteAudio"
   follows="left|top"
   height="14"
   increment="0.5"
   initial_value="10"
   max_val="1"
   min_val="0"
   label="Media Rolloff Rate"
   label_width="150"
   layout="topleft"
   left="10"
   name="MediaRollOffRate"
   tool_tip="This option controls the strength at which media should fade in volume over distance."
   show_text="true"
   can_edit_text="true"
   slider_label.halign="left"
   top_pad="1"/>
   <slider
   control_name="MediaRollOffMin"
   follows="left|top"
   disabled_control="MuteAudio"
   height="14"
   increment="0.5"
   initial_value="5"
   decimal_digits="1"
   max_val="128"
   min_val="0"
   label="Media Rolloff Start"
   label_width="150"
   tool_tip="This option controls the distance at which media volume will start fading."
   layout="topleft"
   left="10"
   name="MediaRollOffMin"
   show_text="true"
   can_edit_text="true"
   volume="false"
   slider_label.halign="left"
   top_pad="1"/>
   <slider
   control_name="MediaRollOffMax"
   follows="left|top"
   disabled_control="MuteAudio"
   height="14"
   increment="0.5"
   decimal_digits="1"
   initial_value="30"
   max_val="128"
   min_val="0"
   label="Media Rolloff End"
   label_width="150"
   tool_tip="This option controls the distance media volume reaches its minimum volume based on rolloff strength."
   layout="topleft"
   left="10"
   name="MediaRollOffMax"
   show_text="true"
   can_edit_text="true"
   volume="false"
   slider_label.halign="left"
   top_pad="1"/>
   <panel
 follows="left|top|right"
 height="20"
 bg_visible="true"
 bg_alpha_color="0.10 0.43 0.77 0.28"
 layout="topleft"
 mouse_opaque="false"
 left="1"
 name="title"
 top_pad="10"
 width="492"/>
 <text
 name="show_ims_in_label"
 follows="left|top"
 layout="topleft"
 left="10"
 height="12"
 width="350"
 top_delta="4">
 Sound and Media Options:
 </text>
 <check_box
   control_name="MuteWhenMinimized"
   height="16"
   initial_value="true"
   label="Mute sound when the Viewer is minimized"
   tool_tip="This option toggles whether all sounds should be muted while the Viewer window is minimized."
   layout="topleft"
   name="mute_when_minimized"
   top_pad="15"
   left="10"
   width="235" />
   <check_box
   name="gesture_audio_play_btn"
   control_name="EnableGestureSounds"
   disabled_control="MuteAudio"
   value="true"
   follows="left|top|right"
   height="16"
   tool_tip="This option toggles whether you want to be able to hear sounds coming from gestures or not."
   label="Play sounds from gestures"
   top_pad="0"
   left_delta="0"/>
   <check_box
   name="media_auto_play_btn"
   control_name="ParcelMediaAutoPlayEnable"
   value="true"
   follows="left|top|right"
   height="16"
   tool_tip="This option toggles whether media is allowed to start playing automatically if it is configured to do so or not."
   label="Allow media to auto-play"
   top_pad="0"
   left_delta="0"
   width="200"/>
   <check_box
   name="media_show_on_others_btn"
   control_name="MediaShowOnOthers"
   enabled_control="AudioStreamingMedia"
   value="true"
   follows="left|top|right"
   height="16"
   top_pad="0"
   tool_tip="This option toggles whether you want to be able to see media attached to other avatars or not."
   label="Play media attached to other avatars"
   left_delta="0"
   width="200"/>
   
   <panel
 follows="left|top|right"
 height="20"
 bg_visible="true"
 bg_alpha_color="0.10 0.43 0.77 0.28"
 layout="topleft"
 mouse_opaque="false"
 left="1"
 name="title"
 top_pad="10"
 width="492"/>
 <text
 name="show_ims_in_label"
 follows="left|top"
 layout="topleft"
 left="10"
 height="12"
 width="350"
 top_delta="4">
 Voice Options:
 </text>
   <check_box
   enabled_control="EnableVoiceChat"
   name="OpenIMOnVoice"
   control_name="OpenIMOnVoice"
   height="16"
   tool_tip="This option toggles whether a call from a person should automatically open the IM window too."
   label="Open IM window when engaging IM call"
   top_pad="15"
   left="10"/>
   <check_box
   enabled_control="EnableVoiceChat"
   name="VoiceCallsRejectGroup"
   control_name="VoiceCallsRejectGroup"
   height="16"
   label="Automatically reject all group voice calls"
   tool_tip="This option toggles whether you want to automatically reject voice calls from groups or not."
   top_pad="0"
   left_delta="0"/>
   <check_box
   enabled_control="EnableVoiceChat"
   control_name="AutoDisengageMic"
   height="16"
   label="Switch off microphone when ending calls"
   tool_tip="This option toggles whether your microphone should be automatically toggled off whenever a private voice call ends or not."
   layout="topleft"
   left_delta="0"
   name="auto_disengage_mic_check"
   top_pad="0"
   width="350" />
   <check_box
 control_name="LipSyncEnabled"
 follows="left|top"
 height="16"
 label="Enable Lip-Sync when speaking"
 tool_tip="This option toggles whether the system avatar should use lip-sync when talking over voice chat. This feature only works with the baseline mesh avatar."
 layout="topleft"
 left_delta="0"
 name="enable_lip_sync"
 width="237"
 top_pad="0" />
   <check_box
   enabled_control="EnableVoiceChat"
   name="ShowVoiceVisualizersInCalls"
   control_name="ShowVoiceVisualizersInCalls"
   height="16"
   layout="topleft"
   label="Enable Lip-Sync in IM calls etc"
   tool_tip="This option toggles whether lip-sync should be used in private voice calls. This feature only works with the baseline mesh avatar."
   top_pad="0"
   left_delta="0"/>
   <check_box
   label_text.halign="left"
   follows="left|top"
   height="16"
   control_name ="VoiceMorphingEnabled"
   enabled_control="EnableVoiceChat"
   invisibility_control="MuteAudio"
   label="Enable Voice Morphing"
   tool_tip="This option toggles whether voice morphing can be used or not. This feature requires voice morphin packs which cost extra or need a premium account."
   layout="topleft"
   top_pad="0"
   left_delta="0"
   name="enable_morphing_check"
   width="110"/>
   <text
   type="string"
   length="1"
   follows="left|top"
   height="12"
   layout="topleft"
   left="10"
   name="Listen from"
   top_pad="9"
   width="150">
   Listen Voice from:
   </text>
   <radio_group
   enabled_control="EnableVoiceChat"
   control_name="VoiceEarLocation"
   height="19"
   layout="topleft"
   left="10"
   name="ear_location"
   top_pad="5"
   width="600">
         <radio_item
         height="16"
         label="Camera"
         value="0"
         tool_tip="This option sets your camera as the position from which you will be able to hear voice. Moving the camera will have an effect on how loud you can hear people or whether you hear them or not."
         layout="topleft"
         name="0"
         top="0"
         width="70">
               <radio_item.check_button
               image_unselected="Checkbox_Off"
               image_selected="Checkbox_On"
               image_disabled="Checkbox_Off_Disabled"
               image_disabled_selected="Checkbox_On_Disabled"
               image_pressed="Checkbox_Press"
               image_pressed_selected="Checkbox_On_Press" />
         </radio_item>
         <radio_item
         height="16"
         label="Avatar"
         value="1"
         tool_tip="This option sets your avatar as the position from which you will be able to hear voice. Avatar movement will have an effect on how loud you can hear people or whether you hear them or not."
         layout="topleft"
         name="0"
         left_pad="10"
         top_delta="0"
         width="70">
               <radio_item.check_button
               image_unselected="Checkbox_Off"
               image_selected="Checkbox_On"
               image_disabled="Checkbox_Off_Disabled"
               image_disabled_selected="Checkbox_On_Disabled"
               image_pressed="Checkbox_Press"
               image_pressed_selected="Checkbox_On_Press" />
         </radio_item>
   </radio_group>
   <button
		 follows="left|top|right"
         control_name="ShowDeviceSettings"
		 height="20"
		 image_bottom_pad="0"
		 image_overlay="AddItem_Off"
   image_overlay_selected="MinusItem_Off"
         image_overlay_alignment="right"
         is_toggle="true"
		 image_selected="SegmentedBtn_Right_Selected_Disabled"
		 image_unselected="SegmentedBtn_Right_Selected"
		 layout="topleft"
		 left="1"
		 name="device_settings_btn"
		 top_pad="7"
		 width="492">
      <button.commit_callback
         function="Pref.InputOutput"/>
   </button>
   <text
   name="general_label"
   follows="left|top"
   layout="topleft"
   top_delta="4" 
   left="10" 
   height="12"
   width="220">
   Input and Output Options:
   </text>
   <panel
   visiblity_control="ShowDeviceSettings"
   border="false"
   follows="top|left"
   height="135"
   label="Device Settings"
   tool_tip="This option opens the input and output configuration and will disconnect you from voice if you are currently using it for as long as this panel remains open."
   layout="topleft"
   left="0"
   name="device_settings_panel"
   class="panel_voice_device_settings"
   width="495"
   top_pad="1">
    <panel.string
    name="default_text">
    Default
    </panel.string>
    <string
    name="name_no_device">
    No Device
    </string>
    <string
    name="name_default_system_device">
    Default System Device
    </string>
    <panel.string
    name="middle_mouse">
    Middle Mouse
    </panel.string>
    <panel.string
     name="button4_mouse">
     Mouse Button 4
    </panel.string>
    <panel.string
     name="button5_mouse">
     Mouse Button 5
    </panel.string>
    <panel.string
    name="none">
    No button assigned
    </panel.string>
    <text
    name="show_ims_in_label"
    follows="left|top"
    layout="topleft"
    left="10"
    height="12"
    width="200"
    top_pad="15">
    Output Device:
    </text>
    <combo_box
    control_name="VoiceOutputAudioDevice"
    height="23"
    layout="topleft"
    left_pad="0"
    max_chars="256"
    tool_tip="This option controls which output device you want to use to hear sounds and voice in Second Life."
    name="voice_output_device"
    top_delta="-3"
    width="170" />
    <text
    name="input_device"
    follows="left|top"
    layout="topleft"
    left="10"
    height="12"
    width="200"
    top_pad="5">
    Input Device:
    </text>
    <combo_box
    height="23"
    control_name="VoiceInputAudioDevice"
    layout="topleft"
    left_pad="0"
    top_delta="-3"
    tool_tip="This option controls which input device you want to use to speak in voice chat."
    max_chars="256"
    name="voice_input_device"
    width="170" />
    <slider
    control_name="AudioLevelMic"
    decimal_digits="0"
    show_text="false"
    follows="left|top"
    height="15"
    increment="0.025"
    initial_value="1.0"
    label="Volume"
    label_width="150"
    layout="topleft"
    tool_tip="This option controls the volume of your own voice in voice chat."
    left="10"
    max_val="2"
    name="mic_volume_slider"
    top_pad="5"/>
    <text
    type="string"
    length="1"
    follows="left|top"
    height="18"
    layout="topleft"
    left_pad="5"
    name="wait_text"
    top_delta="2"
    width="110">
    Please wait
    </text>
    <locate
    height="9"
    layout="topleft"
    left_delta="0"
    name="bar0"
    top_delta="2"
    width="8" />
    <locate
    height="9"
    layout="topleft"
    left_pad="2"
    name="bar1"
    top_delta="0"
    width="8" />
    <locate
    height="9"
    layout="topleft"
    left_pad="2"
    name="bar2"
    top_delta="0"
    width="8" />
    <locate
    height="9"
    layout="topleft"
    left_pad="2"
    name="bar3"
    top_delta="0"
    width="8" />
    <locate
    height="9"
    layout="topleft"
    left_pad="2"
    name="bar4"
    top_delta="0"
    width="8" />
    <check_box
    follows="top|left"
    enabled_control="EnableVoiceChat"
    control_name="PushToTalkToggle"
    height="15"
    label="Toggle speak on/off when I press:"
    layout="topleft"
    left="10"
    top_pad="7"
    name="push_to_talk_toggle_check"
    width="237"
    tool_tip="This option toggles whether you want to use the microphone toggle mode (press the microphone button once to activate, press again to deactivate) or hold mode (press and hold the microphone button while speaking, let go to deactivate) when using voice."/>
    <line_editor
    follows="top|left"
    control_name="PushToTalkButton"
    enabled="false"
    enabled_control="EnableVoiceChat"
    height="23"
    left="10"
    name="modifier_combo"
    label="Push-to-talk trigger"
    tool_tip="This option sets the button you have to press or hold to activate/deactivate your microphone."
    top_pad="5"
    width="270" />
    <button
    follows="left|top"
    enabled_control="EnableVoiceChat"
    height="15"
    is_toggle="false"
    label_color="White"
    label="⌊none⌉"
    image_selected="transparent.j2c"
    image_unselected="transparent.j2c"
    layout="topleft"
    halign="right"
    left="325"
    top_delta="2"
    name="set_voice_none_button"
    width="45">
    <button.commit_callback
            function="Pref.VoiceSetNone"/>
    </button>
    <button
    follows="left|top"
    enabled_control="EnableVoiceChat"
    height="15"
    is_toggle="false"
    label_color="White"
    label="⌊default⌉"
    image_selected="transparent.j2c"
    image_unselected="transparent.j2c"
    layout="topleft"
    left_pad="0"
    top_delta="0"
    name="set_voice_middlemouse_button"
    width="55">
    <button.commit_callback
            function="Pref.VoiceSetMiddleMouse"/>
    </button>
    <button
    follows="left|top"
    enabled_control="EnableVoiceChat"
    height="15"
    is_toggle="false"
    label_color="White"
    label="⌊set key⌉"
    image_selected="transparent.j2c"
    image_unselected="transparent.j2c"
    layout="topleft"
    left_pad="0"
    top_delta="0"
    tool_tip="This option allows you to set the key for toggling your microphone when using voice."
    name="set_voice_hotkey_button"
    width="55">
    <button.commit_callback
            function="Pref.VoiceSetKey"/>
    </button>
   </panel>
  </panel>
 </scroll_container>
</panel>