<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
 border="true"
 follows="all"
 height="408"
 label="Sounds"
 layout="topleft"
 left="102"
 name="Preference Media panel"
 top="1"
 width="517">
    <slider
     control_name="AudioLevelMaster"
     follows="left|top"
     font.style="BOLD"
     height="15"
     increment="0.05"
     initial_value="0.5"
     label="Master volume"
     label_width="160"
     layout="topleft"
     left="0"
     name="System Volume"
     show_text="false"
     slider_label.halign="right"
     top_pad="5"
     volume="true"
     width="350">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteAudio" />
    </slider>
    <button
     control_name="MuteAudio"
     follows="top|right"
     height="18"
     image_selected="parcel_drk_VoiceNo"
     image_unselected="parcel_drk_Voice"
     is_toggle="true"
     layout="topleft"
     left_pad="16"
     name="mute_audio"
     tab_stop="false"
     top_delta="-2"
     width="22" />
    <check_box
     control_name="MuteWhenMinimized"
     height="15"
     initial_value="true"
     label="Mute if minimized"
     layout="topleft"
     left="167"
     name="mute_when_minimized"
     top_pad="5"
     width="215" />
    <slider
     control_name="AudioLevelAmbient"
     disabled_control="MuteAudio"
     follows="left|top"
     height="15"
     increment="0.05"
     initial_value="0.5"
     label="Ambient"
     label_width="160"
     layout="topleft"
     left="0"
     name="Wind Volume"
     show_text="false"
     slider_label.halign="right"
     top_pad="7"
     volume="true"
     width="350">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteAmbient" />
    </slider>
    <button
     control_name="MuteAmbient"
     disabled_control="MuteAudio"
     follows="top|right"
     height="18"
     image_selected="parcel_drk_VoiceNo"
     image_unselected="parcel_drk_Voice"
     is_toggle="true"
     layout="topleft"
     left_pad="16"
     name="mute_wind"
     tab_stop="false"
     top_delta="-2"
     width="22" />
        <slider
     control_name="AudioLevelUI"
     disabled_control="MuteAudio"
     follows="left|top"
     height="15"
     increment="0.05"
     initial_value="0.5"
     label="Buttons"
     label_width="160"
     layout="topleft"
     left="0"
     name="UI Volume"
     show_text="false"
     slider_label.halign="right"
     top_pad="7"
     volume="true"
     width="350">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteUI" />
    </slider>
    <button
     control_name="MuteUI"
     disabled_control="MuteAudio"
     follows="top|right"
     height="18"
     image_selected="parcel_drk_VoiceNo"
     image_unselected="parcel_drk_Voice"
     is_toggle="true"
     layout="topleft"
     left_pad="16"
     name="mute_ui"
     tab_stop="false"
     top_delta="-2"
     width="22" />
        <slider
     control_name="AudioLevelMedia"
     disabled_control="MuteAudio"
     follows="left|top"
     height="15"
     increment="0.05"
     initial_value="0.5"
     label="Media"
     label_width="160"
     layout="topleft"
     left="0"
     name="Media Volume"
     show_text="false"
     slider_label.halign="right"
     top_pad="7"
     volume="true"
     width="350">
    <slider.commit_callback
     function="Pref.setControlFalse"
     parameter="MuteMedia" />
    </slider>
    <button
     control_name="MuteMedia"
     disabled_control="MuteAudio"
     follows="top|right"
     height="18"
     image_selected="parcel_drk_VoiceNo"
     image_unselected="parcel_drk_Voice"
     is_toggle="true"
     layout="topleft"
     left_pad="16"
     name="mute_media"
     tab_stop="false"
     top_delta="-2"
     width="22" />
    <slider
     control_name="AudioLevelSFX"
     disabled_control="MuteAudio"
     follows="left|top"
     height="15"
     increment="0.05"
     initial_value="0.5"
     label="Sound effects"
     label_width="160"
     slider_label.halign="right"
     layout="topleft"
     left="0"
     name="SFX Volume"
     show_text="false"
     top_pad="7"
     volume="true"
     width="350">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteSounds" />
    </slider>
    <button
     control_name="MuteSounds"
     disabled_control="MuteAudio"
     follows="top|right"
     height="18"
     image_selected="parcel_drk_VoiceNo"
     image_unselected="parcel_drk_Voice"
     is_toggle="true"
     layout="topleft"
     left_pad="16"
     name="mute_sfx"
     tab_stop="false"
     top_delta="-2"
     width="22" />
    <slider
     control_name="AudioLevelMusic"
     disabled_control="MuteAudio"
     follows="left|top"
     height="15"
     increment="0.05"
     initial_value="0.5"
     label="Streaming music"
     label_width="160"
     layout="topleft"
     left="0"
     name="Music Volume"
     slider_label.halign="right"
     show_text="false"
     top_pad="7"
     volume="true"
     width="350">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteMusic" />
    </slider>
    <button
     control_name="MuteMusic"
     disabled_control="MuteAudio"
     follows="top|right"
     height="18"
     image_selected="parcel_drk_VoiceNo"
     image_unselected="parcel_drk_Voice"
     is_toggle="true"
     layout="topleft"
     left_pad="16"
     name="mute_music"
     tab_stop="false"
     top_delta="-2"
     width="22" />
   <check_box
     label_text.halign="left"
     follows="right|top"
    height="16"
    control_name ="EnableVoiceChat"
   disabled_control="CmdLineDisableVoice"
     label="Voice"
     left="50"
     name="enable_voice_check"
     top_pad="5"
     width="110"
     >
    </check_box>
    <slider
     control_name="AudioLevelVoice"
     enabled_control="EnableVoiceChat"
     disabled_control="MuteAudio"
     follows="left|top"
     height="15"
     increment="0.05"
     initial_value="0.5"
     label_width="0"
     layout="topleft"
     left="165"
     top_delta="0"
     name="Voice Volume"
     show_text="false"
     slider_label.halign="right"
     volume="true"
     width="185">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteVoice" />
    </slider>
    <button
     control_name="MuteVoice"
     enabled_control="EnableVoiceChat"
     disabled_control="MuteAudio"
     follows="top|right"
     height="18"
     image_selected="parcel_drk_VoiceNo"
     image_unselected="parcel_drk_Voice"
     is_toggle="true"
     layout="topleft"
     left_pad="16"
     name="mute_voice"
     tab_stop="false"
     top_delta="-2"
     width="22" />
    <text
     type="string"
     length="1"
     follows="left|top"
     height="13"
     layout="topleft"
     left="170"
     name="Listen from"
     width="200">
        Listen from:
    </text>
    <icon
	 follows="left"
	 height="18"
	 image_name="Cam_FreeCam_Off"
	 name="camera_icon"
	 mouse_opaque="false"
	 visible="true"
	 width="18" />
	<icon
	 follows="left"
	 height="18"
	 image_name="Move_Walk_Off"
	 name="avatar_icon"
	 mouse_opaque="false"
	 visible="true"
	 width="18" />
   <radio_group
     enabled_control="EnableVoiceChat"
     control_name="VoiceEarLocation"
     draw_border="false"
	 follows="left"
     left_delta="20"
	 top = "210"
	 width="221"
	 height="38"
     name="ear_location">
        <radio_item
         height="16"
         label="Camera position"
         left_pad="1"
	follows="topleft"
         name="0"
         top_delta="-30"
         width="200" />
        <radio_item
         height="16"
	follows="topleft"
         label="Avatar position"
         left_delta="0"
         name="1"
         top_delta="19"
         width="200" />
    </radio_group>
  <button
   control_name="ShowDeviceSettings"
   follows="left|bottom"
   height="19"
   is_toggle="true"
   label="Input/Output Devices"
   layout="topleft"
   left="165"
   top_pad="12"
   name="device_settings_btn"
   width="190">
  </button>
    <panel
     background_visible="true"
     bg_alpha_color="DkGray"
     visiblity_control="ShowDeviceSettings"
     border="false"
     follows="top|left"
     height="145"
     label="DeviceSettings"
     layout="topleft"
     left="0"
     name="device_settings_panel"
     class="panel_voice_device_settings"
     width="501">
      <panel.string
        name="default_text">
        Default
      </panel.string>
      <icon
             height="18"
             image_name="Microphone_On"
             left="80"
             name="microphone_icon"
             mouse_opaque="false"
             top="7"
             visible="true"
             width="18" />
    <text
     type="string"
     length="1"
      font.style="BOLD"
     follows="left|top"
     height="16"
     layout="topleft"
     left_pad="3"
     name="Input"
     width="200">
        Input
    </text>
    <combo_box
     height="19"
     control_name="VoiceInputAudioDevice"
     layout="topleft"
     left="165"
     max_chars="128"
     name="voice_input_device"
     top_pad="0"
     width="200" />
   <text
     type="string"
     length="1"
     follows="left|top"
     height="16"
     layout="topleft"
     left="165"
     name="My volume label"
     top_pad="10"
     width="200">
        My volume:
    </text>
      <slider_bar
        control_name="AudioLevelMic"
     follows="left|top"
     height="17"
     increment="0.05"
     initial_value="1.0"
     layout="topleft"
     left="160"
     max_val="2"
     name="mic_volume_slider"
     tool_tip="Change the volume using this slider"
     top_pad="0"
     width="220" />
    <text
     type="string"
     text_color="EmphasisColor"
     length="1"
     follows="left|top"
     height="18"
     layout="topleft"
     left_pad="5"
     name="wait_text"
     top_delta="0"
     width="110">
        Please wait
    </text>
    <locate
     height="20"
     layout="topleft"
     left_delta="0"
     name="bar0"
     top_delta="5"
     width="20" />
    <locate
     height="20"
     layout="topleft"
     left_pad="2"
     name="bar1"
     top_delta="0"
     width="20" />
    <locate
     height="20"
     layout="topleft"
     left_pad="2"
     name="bar2"
     top_delta="0"
     width="20" />
    <locate
     height="20"
     layout="topleft"
     left_pad="2"
     name="bar3"
     top_delta="0"
     width="20" />
    <locate
     height="20"
     layout="topleft"
     left_pad="2"
     name="bar4"
     top_delta="0"
     width="20" />
  <!--  <text
     type="string"
     height="37"
     left="30"
     name="voice_intro_text1"
     top_pad="-4"
     width="410"
     word_wrap="true">
        Adjust the slider to control how loud you sound to other people. To test your volume, simply speak into your microphone
    </text>-->
          <icon
             height="18"
             image_name="parcel_lght_Voice"
             left="80"
             name="speaker_icon"
             mouse_opaque="false"
             top_pad="-8"
             visible="true"
             width="22" />
    <text
    font.style="BOLD"
     type="string"
     length="1"
     follows="left|top"
     height="15"
     layout="topleft"
     left_pad="0"
     name="Output"
     width="200">
        Output
    </text>
    <combo_box
     control_name="VoiceOutputAudioDevice"
     height="19"
     layout="topleft"
     left="165"
     max_chars="128"
     name="voice_output_device"
     top_pad="0"
     width="200" />
    </panel>
    </panel>