1<?xml version="1.0" encoding="UTF-8"?> 2<!-- Copyright (C) 2024 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 deviceCategory=””> 20<point>0,-9600</point> 21<point>100,0</point> 22</volume> 23--> 24 25<volumeGroups> 26 <volumeGroup> 27 <name>voice_call</name> 28 <indexMin>1</indexMin> 29 <indexMax>7</indexMax> 30 <volume deviceCategory="DEVICE_CATEGORY_HEADSET"> 31 <point>0,-4200</point> 32 <point>33,-2800</point> 33 <point>66,-1400</point> 34 <point>100,0</point> 35 </volume> 36 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER"> 37 <point>0,-2400</point> 38 <point>33,-1600</point> 39 <point>66,-800</point> 40 <point>100,0</point> 41 </volume> 42 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE"> 43 <point>0,-2700</point> 44 <point>33,-1800</point> 45 <point>66,-900</point> 46 <point>100,0</point> 47 </volume> 48 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 49 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 50 </volumeGroup> 51 52 <volumeGroup> 53 <name>system</name> 54 <indexMin>0</indexMin> 55 <indexMax>7</indexMax> 56 <volume deviceCategory="DEVICE_CATEGORY_HEADSET"> 57 <point>1,-3000</point> 58 <point>33,-2600</point> 59 <point>66,-2200</point> 60 <point>100,-1800</point> 61 </volume> 62 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER"> 63 <point>1,-5100</point> 64 <point>57,-2800</point> 65 <point>71,-2500</point> 66 <point>85,-2300</point> 67 <point>100,-2100</point> 68 </volume> 69 <!--volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/--> 70 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/> 71 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 72 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 73 </volumeGroup> 74 75 <volumeGroup> 76 <name>ring</name> 77 <indexMin>0</indexMin> 78 <indexMax>7</indexMax> 79 <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> 80 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/> 81 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/> 82 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 83 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 84 </volumeGroup> 85 86 <volumeGroup> 87 <name>music</name> 88 <indexMin>0</indexMin> 89 <indexMax>25</indexMax> 90 <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 91 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/> 92 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 93 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 94 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 95 </volumeGroup> 96 97 <volumeGroup> 98 <name>alarm</name> 99 <indexMin>1</indexMin> 100 <indexMax>7</indexMax> 101 <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/> 102 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/> 103 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/> 104 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/> 105 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/> 106 </volumeGroup> 107 108 <volumeGroup> 109 <name>notification</name> 110 <indexMin>0</indexMin> 111 <indexMax>7</indexMax> 112 <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> 113 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_SYSTEM_VOLUME_CURVE"/> 114 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/> 115 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 116 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> 117 </volumeGroup> 118 119 <volumeGroup> 120 <name>bluetooth_sco</name> 121 <indexMin>0</indexMin> 122 <indexMax>15</indexMax> 123 <volume 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 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 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 deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 142 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 143 </volumeGroup> 144 145 <volumeGroup> 146 <name>enforced_audible</name> 147 <indexMin>0</indexMin> 148 <indexMax>7</indexMax> 149 <volume deviceCategory="DEVICE_CATEGORY_HEADSET"> 150 <point>1,-3000</point> 151 <point>33,-2600</point> 152 <point>66,-2200</point> 153 <point>100,-1800</point> 154 </volume> 155 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER"> 156 <point>1,-3400</point> 157 <point>71,-2400</point> 158 <point>100,-2000</point> 159 </volume> 160 <!--volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/--> 161 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/> 162 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 163 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 164 </volumeGroup> 165 166 <volumeGroup> 167 <name>dtmf</name> 168 <indexMin>0</indexMin> 169 <indexMax>15</indexMax> 170 <volume deviceCategory="DEVICE_CATEGORY_HEADSET"> 171 <point>1,-3000</point> 172 <point>33,-2600</point> 173 <point>66,-2200</point> 174 <point>100,-1800</point> 175 </volume> 176 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER"> 177 <point>1,-4000</point> 178 <point>71,-2400</point> 179 <point>100,-1400</point> 180 </volume> 181 <!--volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/--> 182 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/> 183 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 184 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 185 </volumeGroup> 186 187 <volumeGroup> 188 <name>tts</name> 189 <indexMin>0</indexMin> 190 <indexMax>15</indexMax> 191 <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="SILENT_VOLUME_CURVE"/> 192 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="FULL_SCALE_VOLUME_CURVE"/> 193 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="SILENT_VOLUME_CURVE"/> 194 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="SILENT_VOLUME_CURVE"/> 195 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="SILENT_VOLUME_CURVE"/> 196 </volumeGroup> 197 198 <volumeGroup> 199 <name>accessibility</name> 200 <indexMin>1</indexMin> 201 <indexMax>15</indexMax> 202 <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> 203 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/> 204 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> 205 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> 206 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/> 207 </volumeGroup> 208 209 <volumeGroup> 210 <name>assistant</name> 211 <indexMin>0</indexMin> 212 <indexMax>15</indexMax> 213 <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 214 <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/> 215 <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 216 <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> 217 <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> 218 </volumeGroup> 219 220</volumeGroups> 221 222