Home | History | Annotate | Download | only in angler
      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.
     17 It contains a list of points of this curve expressing the attenuation in Millibels for a given
     18 volume 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_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
     47         <point>1,-3000</point>
     48         <point>33,-2600</point>
     49         <point>66,-2200</point>
     50         <point>100,-1800</point>
     51     </volume>
     52     <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
     53         <point>1,-3400</point>
     54         <point>33,-2400</point>
     55         <point>66,-1500</point>
     56         <point>100,-600</point>
     57     </volume>
     58     <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
     59                                          ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
     60     <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
     61                                          ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
     62     <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
     63                                        ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
     64     <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
     65         <point>1,-3570</point>
     66         <point>33,-2610</point>
     67         <point>66,-1320</point>
     68         <point>100,0</point>
     69     </volume>
     70     <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
     71                                        ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
     72     <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
     73                                        ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
     74     <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
     75                                         ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
     76     <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
     77         <point>1,-5500</point>
     78         <point>20,-4300</point>
     79         <point>86,-1200</point>
     80         <point>100,0</point>
     81     </volume>
     82     <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
     83                                         ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
     84     <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
     85                                         ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
     86     <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
     87                                         ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
     88     <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
     89         <point>1,-3570</point>
     90         <point>33,-2610</point>
     91         <point>66,-1320</point>
     92         <point>100,0</point>
     93     </volume>
     94     <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
     95                                         ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
     96     <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
     97                                         ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
     98     <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
     99                                                ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
    100     <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
    101         <point>1,-3570</point>
    102         <point>33,-2610</point>
    103         <point>66,-1320</point>
    104         <point>100,0</point>
    105     </volume>
    106     <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
    107                                                ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
    108     <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
    109                                                ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
    110     <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
    111         <point>0,-4200</point>
    112         <point>33,-2800</point>
    113         <point>66,-1400</point>
    114         <point>100,0</point>
    115     </volume>
    116     <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
    117         <point>0,-2400</point>
    118         <point>33,-1600</point>
    119         <point>66,-800</point>
    120         <point>100,0</point>
    121     </volume>
    122     <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
    123         <point>0,-4200</point>
    124         <point>33,-2800</point>
    125         <point>66,-1400</point>
    126         <point>100,0</point>
    127     </volume>
    128     <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
    129                                                 ref="DEFAULT_MEDIA_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         <point>1,-3400</point>
    138         <point>33,-2400</point>
    139         <point>66,-1500</point>
    140         <point>100,-600</point>
    141     </volume>
    142     <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
    143                                                    ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
    144     <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
    145                                                    ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
    146     <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
    147         <point>1,-3000</point>
    148         <point>33,-2600</point>
    149         <point>66,-2200</point>
    150         <point>100,-1800</point>
    151     </volume>
    152     <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER"
    153                                        ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
    154     <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
    155                                        ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
    156     <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
    157                                        ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_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_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
    167                                                 ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
    168     <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER">
    169         <point>1,-5500</point>
    170         <point>20,-4300</point>
    171         <point>86,-1200</point>
    172         <point>100,0</point>
    173     </volume>
    174 
    175     <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
    176                                                 ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
    177     <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
    178                                                 ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
    179     <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
    180                                             ref="FULL_SCALE_VOLUME_CURVE"/>
    181     <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
    182                                             ref="FULL_SCALE_VOLUME_CURVE"/>
    183     <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
    184                                             ref="FULL_SCALE_VOLUME_CURVE"/>
    185     <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
    186                                             ref="FULL_SCALE_VOLUME_CURVE"/>
    187     <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
    188                                         ref="FULL_SCALE_VOLUME_CURVE"/>
    189     <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
    190                                         ref="FULL_SCALE_VOLUME_CURVE"/>
    191     <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
    192                                         ref="FULL_SCALE_VOLUME_CURVE"/>
    193     <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
    194                                         ref="FULL_SCALE_VOLUME_CURVE"/>
    195 </volumes>
    196 
    197