1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2024 The Android Open Source Project 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 http://www.apache.org/licenses/LICENSE-2.0 7 Unless required by applicable law or agreed to in writing, software 8 distributed under the License is distributed on an "AS IS" BASIS, 9 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 See the License for the specific language governing permissions and 11 limitations under the License. 12--> 13<carAudioConfiguration version="4"> 14 <deviceConfigurations> 15 <deviceConfiguration name="useHalDuckingSignals" value="false" /> 16 <deviceConfiguration name="useCoreAudioRouting" value="true" /> 17 <deviceConfiguration name="useCoreAudioVolume" value="true" /> 18 <deviceConfiguration name="useCarVolumeGroupMuting" value="false" /> 19 </deviceConfigurations> 20 <oemContexts> 21 <oemContext name="oem_context"> 22 <audioAttributes> 23 <audioAttribute usage="AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE" 24 contentType="AUDIO_CONTENT_TYPE_SPEECH" 25 tags="oem=extension_8675309" /> 26 </audioAttributes> 27 </oemContext> 28 <oemContext name="oem_music"> 29 <audioAttributes> 30 <usage value="AUDIO_USAGE_MEDIA" /> 31 <usage value="AUDIO_USAGE_GAME" /> 32 <usage value="AUDIO_USAGE_UNKNOWN" /> 33 </audioAttributes> 34 </oemContext> 35 <oemContext name="oem_notification"> 36 <audioAttributes> 37 <usage value="AUDIO_USAGE_NOTIFICATION" /> 38 <usage value="AUDIO_USAGE_NOTIFICATION_EVENT" /> 39 </audioAttributes> 40 </oemContext> 41 <oemContext name="oem_voice_command"> 42 <audioAttributes> 43 <usage value="AUDIO_USAGE_ASSISTANT" /> 44 <usage value="AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY" /> 45 <usage value="AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE" /> 46 </audioAttributes> 47 </oemContext> 48 <oemContext name="oem_call"> 49 <audioAttributes> 50 <usage value="AUDIO_USAGE_VOICE_COMMUNICATION" /> 51 <usage value="AUDIO_USAGE_CALL_ASSISTANT" /> 52 <usage value="AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING" /> 53 </audioAttributes> 54 </oemContext> 55 <oemContext name="oem_call_ring"> 56 <audioAttributes> 57 <usage value="AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE" /> 58 </audioAttributes> 59 </oemContext> 60 <oemContext name="oem_alarm"> 61 <audioAttributes> 62 <usage value="AUDIO_USAGE_ALARM" /> 63 </audioAttributes> 64 </oemContext> 65 <oemContext name="oem_system_sound"> 66 <audioAttributes> 67 <usage value="AUDIO_USAGE_ASSISTANCE_SONIFICATION" /> 68 <usage value="AUDIO_USAGE_EMERGENCY" /> 69 <usage value="AUDIO_USAGE_SAFETY" /> 70 <usage value="AUDIO_USAGE_VEHICLE_STATUS" /> 71 <usage value="AUDIO_USAGE_ANNOUNCEMENT" /> 72 </audioAttributes> 73 </oemContext> 74 </oemContexts> 75 <activationVolumeConfigs> 76 <activationVolumeConfig name="on_boot_config"> 77 <activationVolumeConfigEntry maxActivationVolumePercentage="80" invocationType="onBoot" /> 78 </activationVolumeConfig> 79 <activationVolumeConfig name="on_source_changed_config"> 80 <activationVolumeConfigEntry minActivationVolumePercentage="20" maxActivationVolumePercentage="80" invocationType="onSourceChanged" /> 81 </activationVolumeConfig> 82 <activationVolumeConfig name="on_playback_changed_config"> 83 <activationVolumeConfigEntry minActivationVolumePercentage="10" maxActivationVolumePercentage="90" invocationType="onPlaybackChanged" /> 84 </activationVolumeConfig> 85 </activationVolumeConfigs> 86 <mirroringDevices> 87 <mirroringDevice address="mirror_bus_device_three"/> 88 <mirroringDevice address="mirror_bus_device_four"/> 89 </mirroringDevices> 90 <zones> 91 <zone name="driver zone" isPrimary="true" audioZoneId="0" occupantZoneId="0"> 92 <zoneConfigs> 93 <zoneConfig name="driver zone config 0" isDefault="true"> 94 <volumeGroups> 95 <group name="entertainment" activationConfig="on_boot_config"> 96 <device address="BUS00_MEDIA"> 97 <context context="oem_music"/> 98 </device> 99 </group> 100 <group name="navvoicecommand" activationConfig="on_source_changed_config"> 101 <device address="BUS02_NAV_GUIDANCE"> 102 <context context="oem_voice_command"/> 103 </device> 104 </group> 105 <group name="telringvol" activationConfig="on_playback_changed_config"> 106 <device address="BUS03_PHONE"> 107 <context context="oem_call"/> 108 <context context="oem_call_ring"/> 109 </device> 110 </group> 111 <group name="systemalarm" activationConfig="on_source_changed_config"> 112 <device address="BUS01_SYS_NOTIFICATION"> 113 <context context="oem_alarm"/> 114 <context context="oem_system_sound"/> 115 <context context="oem_notification"/> 116 </device> 117 </group> 118 </volumeGroups> 119 <applyFadeConfigs> 120 <fadeConfig name="relaxed fading" isDefault="true"> 121 </fadeConfig> 122 <fadeConfig name="aggressive fading"> 123 <audioAttributes> 124 <usage value="AUDIO_USAGE_VOICE_COMMUNICATION" /> 125 <usage value="AUDIO_USAGE_ANNOUNCEMENT" /> 126 <usage value="AUDIO_USAGE_VEHICLE_STATUS" /> 127 <usage value="AUDIO_USAGE_SAFETY" /> 128 </audioAttributes> 129 </fadeConfig> 130 <fadeConfig name="disabled fading"> 131 <audioAttributes> 132 <usage value="AUDIO_USAGE_EMERGENCY" /> 133 </audioAttributes> 134 </fadeConfig> 135 </applyFadeConfigs> 136 </zoneConfig> 137 </zoneConfigs> 138 </zone> 139 <zone name="front passenger zone" audioZoneId="1" occupantZoneId="1"> 140 <zoneConfigs> 141 <zoneConfig name="front passenger config 0" isDefault="true"> 142 <volumeGroups> 143 <group name="entertainment" activationConfig="on_boot_config"> 144 <device address="BUS_FRONT"> 145 <context context="oem_music"/> 146 <context context="oem_voice_command"/> 147 <context context="oem_call"/> 148 <context context="oem_call_ring"/> 149 <context context="oem_alarm"/> 150 <context context="oem_system_sound"/> 151 <context context="oem_notification"/> 152 </device> 153 </group> 154 </volumeGroups> 155 <applyFadeConfigs> 156 <fadeConfig name="relaxed fading" isDefault="true"> 157 </fadeConfig> 158 <fadeConfig name="disabled fading"> 159 <audioAttributes> 160 <usage value="AUDIO_USAGE_EMERGENCY" /> 161 </audioAttributes> 162 </fadeConfig> 163 </applyFadeConfigs> 164 </zoneConfig> 165 </zoneConfigs> 166 </zone> 167 <zone name="rear seat zone" audioZoneId="2" occupantZoneId="2"> 168 <zoneConfigs> 169 <zoneConfig name="rear seat config 0" isDefault="true"> 170 <volumeGroups> 171 <group name="entertainment" activationConfig="on_boot_config"> 172 <device address="BUS_REAR"> 173 <context context="oem_music"/> 174 <context context="oem_voice_command"/> 175 <context context="oem_call"/> 176 <context context="oem_call_ring"/> 177 <context context="oem_alarm"/> 178 <context context="oem_system_sound"/> 179 <context context="oem_notification"/> 180 </device> 181 </group> 182 </volumeGroups> 183 <applyFadeConfigs> 184 <fadeConfig name="relaxed fading" isDefault="true"> 185 </fadeConfig> 186 <fadeConfig name="disabled fading"> 187 <audioAttributes> 188 <usage value="AUDIO_USAGE_EMERGENCY" /> 189 </audioAttributes> 190 </fadeConfig> 191 </applyFadeConfigs> 192 </zoneConfig> 193 </zoneConfigs> 194 </zone> 195 </zones> 196</carAudioConfiguration> 197