Multi-zone audio
Stay organized with collections
Save and categorize content based on your preferences.
To learn more about the use of multi-zone audio in automotive rear-seat entertainment systems,
see Multi-Zone Audio.
Device manufacturers can link a display to an audio zone in a vehicle. For instance, for a car
with one primary and rear seat entertainment zone, a device manufacturer can have the following
configuration on the vendor partition:
<?xml version="1.0" encoding="utf-8"?>
<carAudioConfigurations xmlns:car="http://schemas.android.com/apk/res-auto">
<zones>
<zone name="primary zone">
<volumeGroups>
<group>
<device address="bus001_media">
<context context="music"/>
</device>
<device address="bus002_others">
...
</device>
</group>
</volumeGroups>
<displays>
<display car:display="<display-id-1>" />
</displays>
</zone>
<zone name="rear seat">
<volumeGroups>
<group>
<device address="bus100_all">
...
</device>
</group>
</volumeGroups>
<displays>
<display car:display="<display-id-2>" />
</displays>
</zone>
</zones>
</carAudioConfigurations>
</xml>
|
CarAudioService
parses this configuration file and sets up the
audio routing by its audio context (or audio usage) at boot time. During
runtime, CarAudioService
further detects an app launch event and dynamically
assigns the app to the zone based on UID.
Implementation
For the stable ID that device manufacturers can include in their configuration
file, see
Static display identifiers.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-08-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-08-28 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-28 UTC."]]