summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_preferences_sound.xml
blob: 62e445862f582fe59ac0d26070f629dbf4d06e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
<?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">
    <panel.string
     name="middle_mouse">
     Middle Mouse
    </panel.string>
    <slider
     control_name="AudioLevelMaster"
     follows="left|top"
     font.style="BOLD"
     height="15"
     increment="0.025"
     initial_value="0.5"
     label="Master volume"
	   label_width="120"
     layout="topleft"
     left="0"
     name="System Volume"
     show_text="false"
     slider_label.halign="right"
     top="10"
     volume="true"
     width="300">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteAudio" />
    </slider>
    <button
     control_name="MuteAudio"
     follows="top|left"
     height="16"
     image_selected="AudioMute_Off"
     image_unselected="Audio_Off"
     is_toggle="true"
     layout="topleft"
	   left_pad="5"
     name="mute_audio"
     tab_stop="false"
     width="16" />
    <check_box
     control_name="MuteWhenMinimized"
     height="15"
     initial_value="true"
     layout="topleft"
     name="mute_when_minimized"
	   top_delta="3"
     left_pad="5"
     width="20" />
     <!-- *HACK 
     	After storm-1109 will be fixed: instead of using this text_box, word_wrap should be applied for "mute_when_minimized" check_box's label.-->
     <text
      follows="top|left"
      height="15"
      layout="topleft"
      left_pad="0"
      name="mute_chb_label"
      top_delta="0"
      width="150"
      wrap="true">
      Mute when minimized
     </text>
	<slider
		control_name="AudioLevelUI"
		disabled_control="MuteAudio"
		follows="left|top"
		height="15"
		increment="0.025"
		initial_value="0.5"
		label="Buttons"
		label_width="120"
		layout="topleft"
		left="0"
		name="UI Volume"
		show_text="false"
		slider_label.halign="right"
		top_pad="4"
		volume="true"
		width="300">
	  <slider.commit_callback
		  function="Pref.setControlFalse"
		  parameter="MuteUI" />
	</slider>
	<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="5"
		name="mute_audio"
		tab_stop="false"
		width="16" />
    <slider
     control_name="AudioLevelAmbient"
     disabled_control="MuteAudio"
     follows="left|top"
     height="15"
     increment="0.025"
     initial_value="0.5"
     label="Ambient"
     label_width="120"
     layout="topleft"
     left="0"
     name="Wind Volume"
     show_text="false"
     slider_label.halign="right"
     top_pad="4"
     volume="true"
     width="300">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteAmbient" />
    </slider>
        <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="5"
     name="mute_audio"
     tab_stop="false"
     width="16" />
    <slider
     control_name="AudioLevelSFX"
     disabled_control="MuteAudio"
     follows="left|top"
     height="15"
     increment="0.025"
     initial_value="0.5"
     label="Sound Effects"
     label_width="120"
     slider_label.halign="right"
     layout="topleft"
     left="0"
     name="SFX Volume"
     show_text="false"
     top_pad="4"
     volume="true"
     width="300">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteSounds" />
    </slider>
   <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="5"
     name="mute_audio"
     tab_stop="false"
     width="16" />
    <slider
     control_name="AudioLevelMusic"
     disabled_control="MuteAudio"
     follows="left|top"
     height="15"
     increment="0.025"
     initial_value="0.5"
     label="Streaming music"
     label_width="120"
     layout="topleft"
     left="0"
     name="Music Volume"
     slider_label.halign="right"
     show_text="false"
     top_pad="4"
     volume="true"
     width="300">
        <slider.commit_callback
         function="Pref.setControlFalse"
         parameter="MuteMusic" />
	</slider>
    <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="5"
     name="mute_audio"
     tab_stop="false"
	 width="16" />
	<check_box
		control_name="AudioStreamingMusic"
		height="16"
		label="Enabled"
		layout="topleft"
		left_pad="5"
		name="enable_music"
		top_delta="2"
		width="350">
		<check_box.commit_callback
			function="Pref.updateMediaAutoPlayCheckbox"/>
	</check_box>
	<slider
		control_name="AudioLevelMedia"
		disabled_control="MuteAudio"
		follows="left|top"
		height="16"
		increment="0.025"
		initial_value="0.5"
		label="Media"
		label_width="120"
		layout="topleft"
		left="0"
		name="Media Volume"
		show_text="false"
		slider_label.halign="right"
		top_pad="4"
		volume="true"
		width="300">
	  <slider.commit_callback
		  function="Pref.setControlFalse"
		  parameter="MuteMedia" />
	</slider>
	<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="5"
		name="mute_audio"
		tab_stop="false"
		width="16" />
	<check_box
		label_text.halign="left"
		follows="left|top"
		height="16"
		control_name ="AudioStreamingMedia"
		label="Enabled"
		layout="topleft"
		top_delta="2"
		left_pad="5"
		name="enable_media"
		width="110">
		<check_box.commit_callback
			function="Pref.updateMediaAutoPlayCheckbox"/>
	</check_box>
	<slider
		control_name="AudioLevelVoice"
		disabled_control="MuteAudio"
		follows="left|top"
		height="16"
		increment="0.025"
		initial_value="0.5"
		label="Voice Chat"
		label_width="120"
		layout="topleft"
		left="0"
		top_pad="4"
		name="Voice Volume"
		show_text="false"
		slider_label.halign="right"
		volume="true"
		width="300">
	  <slider.commit_callback
		  function="Pref.setControlFalse"
		  parameter="MuteVoice" />
	</slider>
	<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="5"
		name="mute_audio"
		tab_stop="false"
		width="16" />
	<check_box
		label_text.halign="left"
		follows="left|top"
		height="16"
		control_name ="EnableVoiceChat"
		disabled_control="CmdLineDisableVoice"
		label="Enabled"
		layout="topleft"
		top_delta="2"
		left_pad="5"
		name="enable_voice_check"
		width="110"/>
	<!-- -->
	<check_box
		name="media_auto_play_btn"
		control_name="ParcelMediaAutoPlayEnable"
		enabled_control="AudioStreamingMedia"
		value="true"
		follows="left|bottom|right"
		height="15"
		tool_tip="Check this to let media auto-play if it wants"
		label="Allow Media to auto-play"
		top_pad="1"
		left="25"/>
 	<check_box
		name="media_show_on_others_btn"
		control_name="MediaShowOnOthers"
		value="true"
		follows="left|bottom|right"
		height="15"
		tool_tip="Uncheck this to hide media attached to other avatars nearby"
		label="Play media attached to other avatars"
		left="25"
    width="230"/>

    <text
     type="string"
     length="1"
     follows="left|top"
     height="20"
     layout="topleft"
     left="25"
     name="voice_chat_settings"
     width="180"
     top_pad="7">
	  Voice Chat Settings
    </text>
    <text
     type="string"
     length="1"
     follows="left|top"
     layout="topleft"
	   left="46"
	   top_delta="16"
     name="Listen from"
     width="112">
        Listen from:
    </text>
	<icon
		follows="left|top"
		height="18"
		image_name="Cam_FreeCam_Off"
		layout="topleft"
		name="camera_icon"
		mouse_opaque="false"
		visible="true"
		width="18"
		left_pad="-4"
		top_delta="-5"/>
	<icon
		follows="left|top"
		height="18"
		image_name="Move_Walk_Off"
		layout="topleft"
    left_pad="170" 
		name="avatar_icon"
		mouse_opaque="false"
		visible="true"
		width="18"
		top_delta="0" />
   <radio_group
     enabled_control="EnableVoiceChat"
     control_name="VoiceEarLocation"
     draw_border="false"
     follows="left|top"
     layout="topleft"
     left_delta="-168"
     width="221"
     height="20"
     name="ear_location">
    <radio_item
     height="19"
     label="Camera position"
     follows="left|top"
     layout="topleft"
     name="0"
     width="200"/>
    <radio_item
     height="19"
     follows="left|top"
     label="Avatar position"
     layout="topleft"
     left_pad="-16"
     name="1"
     top_delta ="0" 
     width="200" />
   </radio_group>
  <check_box
   control_name="LipSyncEnabled"
   follows="left|top"
   height="15"
   label="Move avatar lips when speaking"
   layout="topleft"
   left="44"
   name="enable_lip_sync"
   top_pad="5" 
   width="237"/>
 <check_box
  follows="top|left"
  enabled_control="EnableVoiceChat"
  control_name="PushToTalkToggle"
  height="15"
  label="Toggle speak on/off when I press:"
  layout="topleft"
  left="44"
  name="push_to_talk_toggle_check"
  width="237"
  tool_tip="When in toggle mode, press and release the trigger key ONCE to switch your microphone on or off. When not in toggle mode, the microphone broadcasts your voice only while the trigger is being held down."
  top_pad="3"/>
  <line_editor
   follows="top|left"
   control_name="PushToTalkButton"
   enabled="false"
   enabled_control="EnableVoiceChat"
   height="23"
   left="80"
   max_length_bytes="200"
   name="modifier_combo"
   label="Push-to-Speak trigger"
   top_pad="3"
   width="200" />
  <button
   layout="topleft"
   follows="top|left"
   enabled_control="EnableVoiceChat"
   height="23"
   label="Set Key"
   left_pad="5"
   name="set_voice_hotkey_button"
   width="100">
    <button.commit_callback
    function="Pref.VoiceSetKey" />
  </button>
  <button
     enabled_control="EnableVoiceChat"
     follows="top|left"
     halign="center"
     height="23"
     image_overlay="Refresh_Off"
     layout="topleft"
     tool_tip="Reset to Middle Mouse Button"
     mouse_opaque="true"
     name="set_voice_middlemouse_button"
     left_pad="5"
     width="25">
    <button.commit_callback
    function="Pref.VoiceSetMiddleMouse" />
  </button>
  <button
   control_name="ShowDeviceSettings"
   follows="left|top"
   height="23"
   is_toggle="true"
   label="Input/Output devices"
   layout="topleft"
   left="20"
   top_pad="6"
   name="device_settings_btn"
   width="190">
  </button>
  <panel
    layout="topleft"
    filename="panel_sound_devices.xml"
    visiblity_control="ShowDeviceSettings"
    name="device_settings_panel"
    top="314"
    width="345"
    left="18"
    class="panel_voice_device_settings"/>
</panel>