| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- Copyright (C) 2015 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <!-- Volume section defines a volume curve for a given use case and device category. |
| It contains a list of points of this curve expressing the attenuation in Millibels for a given |
| volume index from 0 to 100. |
| <volume deviceCategory=””> |
| <point>0,-9600</point> |
| <point>100,0</point> |
| </volume> |
| --> |
| |
| <volumeGroups> |
| <volumeGroup> |
| <name>voice_call</name> |
| <indexMin>1</indexMin> |
| <indexMax>7</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET"> |
| <point>0,-4200</point> |
| <point>33,-2800</point> |
| <point>66,-1400</point> |
| <point>100,0</point> |
| </volume> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER"> |
| <point>0,-2400</point> |
| <point>33,-1600</point> |
| <point>66,-800</point> |
| <point>100,0</point> |
| </volume> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE"> |
| <point>0,-2700</point> |
| <point>33,-1800</point> |
| <point>66,-900</point> |
| <point>100,0</point> |
| </volume> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>system</name> |
| <indexMin>0</indexMin> |
| <indexMax>7</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET"> |
| <point>1,-3000</point> |
| <point>33,-2600</point> |
| <point>66,-2200</point> |
| <point>100,-1800</point> |
| </volume> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER"> |
| <point>1,-5100</point> |
| <point>57,-2800</point> |
| <point>71,-2500</point> |
| <point>85,-2300</point> |
| <point>100,-2100</point> |
| </volume> |
| <!--volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/--> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>ring</name> |
| <indexMin>0</indexMin> |
| <indexMax>7</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>music</name> |
| <indexMin>0</indexMin> |
| <indexMax>25</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>alarm</name> |
| <indexMin>1</indexMin> |
| <indexMax>7</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>notification</name> |
| <indexMin>0</indexMin> |
| <indexMax>7</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_SYSTEM_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>bluetooth_sco</name> |
| <indexMin>0</indexMin> |
| <indexMax>15</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET"> |
| <point>0,-4200</point> |
| <point>33,-2800</point> |
| <point>66,-1400</point> |
| <point>100,0</point> |
| </volume> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER"> |
| <point>0,-2400</point> |
| <point>33,-1600</point> |
| <point>66,-800</point> |
| <point>100,0</point> |
| </volume> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE"> |
| <point>0,-4200</point> |
| <point>33,-2800</point> |
| <point>66,-1400</point> |
| <point>100,0</point> |
| </volume> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>enforced_audible</name> |
| <indexMin>0</indexMin> |
| <indexMax>7</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET"> |
| <point>1,-3000</point> |
| <point>33,-2600</point> |
| <point>66,-2200</point> |
| <point>100,-1800</point> |
| </volume> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER"> |
| <point>1,-3400</point> |
| <point>71,-2400</point> |
| <point>100,-2000</point> |
| </volume> |
| <!--volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/--> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>dtmf</name> |
| <indexMin>0</indexMin> |
| <indexMax>15</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET"> |
| <point>1,-3000</point> |
| <point>33,-2600</point> |
| <point>66,-2200</point> |
| <point>100,-1800</point> |
| </volume> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER"> |
| <point>1,-4000</point> |
| <point>71,-2400</point> |
| <point>100,-1400</point> |
| </volume> |
| <!--volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/--> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>tts</name> |
| <indexMin>0</indexMin> |
| <indexMax>15</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="SILENT_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="FULL_SCALE_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="SILENT_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="SILENT_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="SILENT_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>accessibility</name> |
| <indexMin>1</indexMin> |
| <indexMax>15</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| <volumeGroup> |
| <name>assistant</name> |
| <indexMin>0</indexMin> |
| <indexMax>15</indexMax> |
| <volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/> |
| <volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/> |
| </volumeGroup> |
| |
| </volumeGroups> |
| |