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,-4200</point> 28 <point>33,-2800</point> 29 <point>66,-1400</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,-1600</point> 35 <point>66,-800</point> 36 <point>100,0</point> 37 </volume> 38 <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE"> 39 <point>0,-2400</point> 40 <point>33,-1600</point> 41 <point>66,-800</point> 42 <point>100,0</point> 43 </volume> 44 <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 45 ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 46 <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 47 ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/> 48 <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET"> 49 <point>1,-3000</point> 50 <point>33,-2600</point> 51 <point>66,-2200</point> 52 <point>100,-1800</point> 53 </volume> 54 <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 55 <point>1,-4700</point> 56 <point>33,-3800</point> 57 <point>66,-2300</point> 58 <point>100,-1500</point> 59 </volume> 60 <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE" 61 ref="DEFAULT_SYSTEM_VOLUME_CURVE"/> 62 <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 63 ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 64 <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 65 ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 66 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET" 67 ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> 68 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 69 <point>1,-3800</point> 70 <point>33,-2400</point> 71 <point>66,-1200</point> 72 <point>100,0</point> 73 </volume> 74 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE" 75 ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/> 76 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 77 ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 78 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 79 ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 80 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET" 81 ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 82 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 83 <point>1,-6200</point> 84 <point>20,-4700</point> 85 <point>40,-3000</point> 86 <point>60,-1700</point> 87 <point>100,0</point> 88 </volume> 89 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE" 90 ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 91 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 92 ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 93 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 94 ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 95 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET" 96 ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/> 97 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 98 <point>0,-5200</point> 99 <point>33,-2400</point> 100 <point>66,-1150</point> 101 <point>100,0</point> 102 </volume> 103 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE" 104 ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/> 105 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 106 ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/> 107 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 108 ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/> 109 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET" 110 ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> 111 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 112 <point>1,-3800</point> 113 <point>33,-2600</point> 114 <point>66,-1400</point> 115 <point>100,0</point> 116 </volume> 117 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE" 118 ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/> 119 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 120 ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 121 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 122 ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> 123 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET"> 124 <point>0,-4200</point> 125 <point>33,-2800</point> 126 <point>66,-1400</point> 127 <point>100,0</point> 128 </volume> 129 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 130 <point>0,-2400</point> 131 <point>33,-1600</point> 132 <point>66,-800</point> 133 <point>100,0</point> 134 </volume> 135 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE"> 136 <point>0,-4200</point> 137 <point>33,-2800</point> 138 <point>66,-1400</point> 139 <point>100,0</point> 140 </volume> 141 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 142 ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 143 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 144 ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 145 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET"> 146 <point>1,-3000</point> 147 <point>33,-2600</point> 148 <point>66,-2200</point> 149 <point>100,-1800</point> 150 </volume> 151 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 152 <point>1,-4700</point> 153 <point>33,-3800</point> 154 <point>66,-2800</point> 155 <point>100,-1800</point> 156 </volume> 157 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE" 158 ref="DEFAULT_SYSTEM_VOLUME_CURVE"/> 159 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 160 ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 161 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 162 ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 163 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET"> 164 <point>1,-3000</point> 165 <point>33,-2600</point> 166 <point>66,-2200</point> 167 <point>100,-1800</point> 168 </volume> 169 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 170 <point>1,-4800</point> 171 <point>33,-3200</point> 172 <point>66,-2200</point> 173 <point>100,-1300</point> 174 </volume> 175 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE" 176 ref="DEFAULT_SYSTEM_VOLUME_CURVE"/> 177 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 178 ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 179 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 180 ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 181 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET" 182 ref="SILENT_VOLUME_CURVE"/> 183 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER" 184 ref="FULL_SCALE_VOLUME_CURVE"/> 185 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE" 186 ref="SILENT_VOLUME_CURVE"/> 187 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 188 ref="SILENT_VOLUME_CURVE"/> 189 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 190 ref="SILENT_VOLUME_CURVE"/> 191 <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET" 192 ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> 193 <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER" 194 ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/> 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_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 200 ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/> 201 <volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEADSET" 202 ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 203 <volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_SPEAKER" 204 ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/> 205 <volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EARPIECE" 206 ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 207 <volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 208 ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 209 <volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 210 ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 211 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET" 212 ref="FULL_SCALE_VOLUME_CURVE"/> 213 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER" 214 ref="FULL_SCALE_VOLUME_CURVE"/> 215 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE" 216 ref="FULL_SCALE_VOLUME_CURVE"/> 217 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 218 ref="FULL_SCALE_VOLUME_CURVE"/> 219 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 220 ref="FULL_SCALE_VOLUME_CURVE"/> 221 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET" 222 ref="FULL_SCALE_VOLUME_CURVE"/> 223 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER" 224 ref="FULL_SCALE_VOLUME_CURVE"/> 225 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE" 226 ref="FULL_SCALE_VOLUME_CURVE"/> 227 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 228 ref="FULL_SCALE_VOLUME_CURVE"/> 229 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 230 ref="FULL_SCALE_VOLUME_CURVE"/> 231</volumes> 232 233