• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<!-- Volume section defines a volume curve for a given use case and device category.
17It contains a list of points of this curve expressing the attenuation in Millibels for a given
18volume index from 0 to 100.
19<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
20<point>0,-9600</point>
21<point>100,0</point>
22</volume>
23-->
24
25<volumes>
26    <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
27        <point>0,-4000</point>
28        <point>33,-2700</point>
29        <point>66,-1300</point>
30        <point>100,0</point>
31    </volume>
32    <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
33        <point>0,-2400</point>
34        <point>33,-1700</point>
35        <point>66,-1200</point>
36        <point>85,-900</point>
37        <point>100,-400</point>
38    </volume>
39    <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
40        <point>0,-2499</point>
41        <point>33,-1650</point>
42        <point>66,-800</point>
43        <point>100,0</point>
44    </volume>
45    <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
46                                             ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
47    <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
48        <point>1,-3000</point>
49        <point>33,-2600</point>
50        <point>66,-2200</point>
51        <point>100,-1800</point>
52    </volume>
53    <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
54        <point>1,-1600</point>
55        <point>33,-1200</point>
56        <point>66,-600</point>
57        <point>100,-100</point>
58    </volume>
59    <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
60                                         ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
61    <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
62                                         ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
63    <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
64                                       ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
65    <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
66        <point>1,-4500</point>
67        <point>14,-4000</point>
68        <point>28,-3000</point>
69        <point>42,-2690</point>
70        <point>57,-2400</point>
71        <point>71,-1960</point>
72        <point>85,-1550</point>
73        <point>100,-1000</point>
74    </volume>
75    <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
76                                       ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
77    <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
78                                       ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
79    <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
80                                        ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
81    <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
82        <point>1,-5700</point>
83        <point>6,-4260</point>
84        <point>26,-3990</point>
85        <point>33,-3400</point>
86        <point>40,-2783</point>
87        <point>53,-2516</point>
88        <point>73,-1699</point>
89        <point>80,-1430</point>
90        <point>86,-1190</point>
91        <point>93,-850</point>
92        <point>100,0</point>
93    </volume>
94    <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
95                                        ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
96    <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
97                                        ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
98    <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
99                                        ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
100    <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
101        <point>0,-4500</point>
102        <point>14,-4000</point>
103        <point>28,-3000</point>
104        <point>42,-2690</point>
105        <point>57,-2400</point>
106        <point>71,-1960</point>
107        <point>85,-1550</point>
108        <point>100,-1000</point>
109    </volume>
110    <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
111                                        ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
112    <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
113                                        ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
114    <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
115                                               ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
116    <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
117        <point>1,-4500</point>
118        <point>14,-4000</point>
119        <point>28,-3000</point>
120        <point>42,-2690</point>
121        <point>57,-2400</point>
122        <point>71,-1960</point>
123        <point>85,-1550</point>
124        <point>100,-1000</point>
125    </volume>
126    <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
127                                               ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
128    <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
129                                               ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
130    <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
131        <point>0,-4200</point>
132        <point>33,-2800</point>
133        <point>66,-1400</point>
134        <point>100,0</point>
135    </volume>
136    <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
137        <point>0,-2400</point>
138        <point>33,-1600</point>
139        <point>66,-800</point>
140        <point>100,0</point>
141    </volume>
142    <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
143        <point>0,-4200</point>
144        <point>33,-2800</point>
145        <point>66,-1400</point>
146        <point>100,0</point>
147    </volume>
148    <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
149                                                ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
150    <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
151        <point>1,-3000</point>
152        <point>33,-2600</point>
153        <point>66,-2200</point>
154        <point>100,-1800</point>
155    </volume>
156    <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
157        <point>1,-3400</point>
158        <point>33,-2400</point>
159        <point>66,-1500</point>
160        <point>100,-600</point>
161    </volume>
162    <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
163                                                   ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
164    <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
165                                                   ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
166    <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
167        <point>1,-3000</point>
168        <point>33,-2600</point>
169        <point>66,-2200</point>
170        <point>100,-1800</point>
171    </volume>
172    <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER"
173                                       ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
174    <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
175                                       ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
176    <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
177                                       ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
178    <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
179                                      ref="SILENT_VOLUME_CURVE"/>
180    <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
181                                      ref="FULL_SCALE_VOLUME_CURVE"/>
182    <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
183                                      ref="SILENT_VOLUME_CURVE"/>
184    <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
185                                      ref="SILENT_VOLUME_CURVE"/>
186    <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
187                                                ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
188    <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER">
189        <point>0,-5900</point>
190        <point>51,-3150</point>
191        <point>93,-1000</point>
192        <point>100,0</point>
193    </volume>
194
195    <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
196                                                ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
197    <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
198                                                ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
199    <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
200                                            ref="FULL_SCALE_VOLUME_CURVE"/>
201    <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
202                                            ref="FULL_SCALE_VOLUME_CURVE"/>
203    <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
204                                            ref="FULL_SCALE_VOLUME_CURVE"/>
205    <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
206                                            ref="FULL_SCALE_VOLUME_CURVE"/>
207    <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
208                                        ref="FULL_SCALE_VOLUME_CURVE"/>
209    <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
210                                        ref="FULL_SCALE_VOLUME_CURVE"/>
211    <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
212                                        ref="FULL_SCALE_VOLUME_CURVE"/>
213    <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
214                                        ref="FULL_SCALE_VOLUME_CURVE"/>
215</volumes>
216
217