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,-3000</point> 28 <point>33,-2000</point> 29 <point>66,-1000</point> 30 <point>100,0</point> 31 </volume> 32 <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 33 <point>0,-3000</point> 34 <point>33,-2000</point> 35 <point>66,-1000</point> 36 <point>100,0</point> 37 </volume> 38 <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE"> 39 <point>0,-3000</point> 40 <point>33,-2000</point> 41 <point>66,-1000</point> 42 <point>100,0</point> 43 </volume> 44 <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 45 ref="TAIMEN_DEFAULT_MEDIA_VOLUME_CURVE"/> 46 <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 47 ref="TAIMEN_DEFAULT_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 ref="TAIMEN_DEFAULT_SYSTEM_VOLUME_CURVE"/> 56 <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE" 57 ref="TAIMEN_DEFAULT_SYSTEM_VOLUME_CURVE"/> 58 <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 59 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 60 <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 61 ref="TAIMEN_DEFAULT_HEARING_AID_VOLUME_CURVE"/> 62 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET" 63 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> 64 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 65 <point>1,-5000</point> 66 <point>100,0</point> 67 </volume> 68 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE" 69 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/> 70 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 71 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 72 <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 73 ref="TAIMEN_DEFAULT_HEARING_AID_VOLUME_CURVE"/> 74 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET" 75 ref="TAIMEN_DEFAULT_MEDIA_VOLUME_CURVE"/> 76 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER" 77 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/> 78 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE" 79 ref="TAIMEN_DEFAULT_MEDIA_VOLUME_CURVE"/> 80 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 81 ref="TAIMEN_DEFAULT_MEDIA_VOLUME_CURVE"/> 82 <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 83 ref="TAIMEN_DEFAULT_HEARING_AID_VOLUME_CURVE"/> 84 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET" 85 ref="TAIMEN_DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/> 86 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 87 <point>0,-5000</point> 88 <point>100,0</point> 89 </volume> 90 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE" 91 ref="TAIMEN_DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/> 92 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 93 ref="TAIMEN_DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/> 94 <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 95 ref="TAIMEN_DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/> 96 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET" 97 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> 98 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 99 <point>1,-4000</point> 100 <point>100,0</point> 101 </volume> 102 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE" 103 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/> 104 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 105 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 106 <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 107 ref="TAIMEN_DEFAULT_HEARING_AID_VOLUME_CURVE"/> 108 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET"> 109 <point>0,-4200</point> 110 <point>33,-2800</point> 111 <point>66,-1400</point> 112 <point>100,0</point> 113 </volume> 114 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER"> 115 <point>0,-2400</point> 116 <point>33,-1600</point> 117 <point>66,-800</point> 118 <point>100,0</point> 119 </volume> 120 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE"> 121 <point>0,-4200</point> 122 <point>33,-2800</point> 123 <point>66,-1400</point> 124 <point>100,0</point> 125 </volume> 126 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 127 ref="TAIMEN_DEFAULT_MEDIA_VOLUME_CURVE"/> 128 <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 129 ref="TAIMEN_DEFAULT_HEARING_AID_VOLUME_CURVE"/> 130 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET"> 131 <point>1,-3000</point> 132 <point>33,-2600</point> 133 <point>66,-2200</point> 134 <point>100,-1800</point> 135 </volume> 136 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER" 137 ref="TAIMEN_DEFAULT_SYSTEM_VOLUME_CURVE"/> 138 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE" 139 ref="TAIMEN_DEFAULT_SYSTEM_VOLUME_CURVE"/> 140 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 141 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 142 <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 143 ref="TAIMEN_DEFAULT_HEARING_AID_VOLUME_CURVE"/> 144 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET"> 145 <point>1,-3000</point> 146 <point>33,-2600</point> 147 <point>66,-2200</point> 148 <point>100,-1800</point> 149 </volume> 150 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER" 151 ref="TAIMEN_DEFAULT_SYSTEM_VOLUME_CURVE"/> 152 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE" 153 ref="TAIMEN_DEFAULT_SYSTEM_VOLUME_CURVE"/> 154 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 155 ref="TAIMEN_DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> 156 <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 157 ref="TAIMEN_DEFAULT_HEARING_AID_VOLUME_CURVE"/> 158 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET" 159 ref="SILENT_VOLUME_CURVE"/> 160 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER" 161 ref="FULL_SCALE_VOLUME_CURVE"/> 162 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE" 163 ref="SILENT_VOLUME_CURVE"/> 164 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 165 ref="SILENT_VOLUME_CURVE"/> 166 <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 167 ref="SILENT_VOLUME_CURVE"/> 168 <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET" 169 ref="TAIMEN_DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> 170 <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER" 171 ref="TAIMEN_DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/> 172 <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE" 173 ref="TAIMEN_DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> 174 <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 175 ref="TAIMEN_DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> 176 <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 177 ref="TAIMEN_DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/> 178 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET" 179 ref="FULL_SCALE_VOLUME_CURVE"/> 180 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER" 181 ref="FULL_SCALE_VOLUME_CURVE"/> 182 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE" 183 ref="FULL_SCALE_VOLUME_CURVE"/> 184 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 185 ref="FULL_SCALE_VOLUME_CURVE"/> 186 <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 187 ref="FULL_SCALE_VOLUME_CURVE"/> 188 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET" 189 ref="FULL_SCALE_VOLUME_CURVE"/> 190 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER" 191 ref="FULL_SCALE_VOLUME_CURVE"/> 192 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE" 193 ref="FULL_SCALE_VOLUME_CURVE"/> 194 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" 195 ref="FULL_SCALE_VOLUME_CURVE"/> 196 <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID" 197 ref="FULL_SCALE_VOLUME_CURVE"/> 198</volumes> 199 200 201