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<!-- Default Volume Tables included by Audio Policy Configuration file -->
17<!-- Full Default Volume table for all device category -->
18<volumes>
19    <reference name="FULL_SCALE_VOLUME_CURVE">
20    <!-- Full Scale reference Volume Curve -->
21        <point>0,0</point>
22        <point>100,0</point>
23    </reference>
24    <reference name="SILENT_VOLUME_CURVE">
25        <point>0,-9600</point>
26        <point>100,-9600</point>
27    </reference>
28    <reference name="DEFAULT_SYSTEM_VOLUME_CURVE">
29    <!-- Default System reference Volume Curve -->
30        <point>1,-2400</point>
31        <point>33,-1800</point>
32        <point>66,-1200</point>
33        <point>100,-600</point>
34    </reference>
35    <reference name="DEFAULT_MEDIA_VOLUME_CURVE">
36    <!-- Default Media reference Volume Curve -->
37        <point>1,-5800</point>
38        <point>20,-4000</point>
39        <point>60,-1700</point>
40        <point>100,0</point>
41    </reference>
42    <reference name="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE">
43    <!--Default Volume Curve -->
44        <point>1,-4950</point>
45        <point>33,-3350</point>
46        <point>66,-1700</point>
47        <point>100,0</point>
48    </reference>
49    <reference name="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE">
50    <!-- Default is Speaker Media Volume Curve -->
51        <point>1,-5800</point>
52        <point>20,-4000</point>
53        <point>60,-1700</point>
54        <point>100,0</point>
55    </reference>
56    <reference name="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE">
57    <!--Default Volume Curve -->
58        <point>1,-4950</point>
59        <point>33,-3350</point>
60        <point>66,-1700</point>
61        <point>100,0</point>
62    </reference>
63    <reference name="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE">
64    <!-- Default is Ext Media System Volume Curve -->
65        <point>1,-5800</point>
66        <point>20,-4000</point>
67        <point>60,-2100</point>
68        <point>100,-1000</point>
69    </reference>
70    <reference name="DEFAULT_HEARING_AID_VOLUME_CURVE">
71    <!-- Default Hearing Aid Volume Curve -->
72        <point>1,-12700</point>
73        <point>20,-8000</point>
74        <point>60,-4000</point>
75        <point>100,0</point>
76    </reference>
77    <!-- **************************************************************** -->
78    <!-- Non-mutable default volume curves:                               -->
79    <!--     * first point is always for index 0                          -->
80    <!--     * attenuation is small enough that stream can still be heard -->
81    <reference name="DEFAULT_NON_MUTABLE_VOLUME_CURVE">
82    <!-- Default non-mutable reference Volume Curve -->
83    <!--        based on DEFAULT_MEDIA_VOLUME_CURVE -->
84        <point>0,-5800</point>
85        <point>20,-4000</point>
86        <point>60,-1700</point>
87        <point>100,0</point>
88    </reference>
89    <reference name="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE">
90    <!--Default non-mutable Volume Curve for headset -->
91    <!--    based on DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE -->
92        <point>0,-4950</point>
93        <point>33,-3350</point>
94        <point>66,-1700</point>
95        <point>100,0</point>
96    </reference>
97    <reference name="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE">
98    <!-- Default non-mutable Speaker Volume Curve -->
99    <!--    based on DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE -->
100        <point>0,-5800</point>
101        <point>20,-4000</point>
102        <point>60,-1700</point>
103        <point>100,0</point>
104    </reference>
105    <reference name="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE">
106    <!--Default non-mutable Volume Curve -->
107    <!--    based on DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE -->
108        <point>0,-4950</point>
109        <point>33,-3350</point>
110        <point>66,-1700</point>
111        <point>100,0</point>
112    </reference>
113    <reference name="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE">
114    <!-- Default non-mutable Ext Media System Volume Curve -->
115    <!--     based on DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE -->
116        <point>0,-5800</point>
117        <point>20,-4000</point>
118        <point>60,-2100</point>
119        <point>100,-1000</point>
120    </reference>
121    <reference name="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE">
122    <!-- Default non-mutable Hearing Aid Volume Curve -->
123    <!--     based on DEFAULT_HEARING_AID_VOLUME_CURVE -->
124        <point>0,-12700</point>
125        <point>20,-8000</point>
126        <point>60,-4000</point>
127        <point>100,0</point>
128    </reference>
129</volumes>
130