2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
다중 영역 오디오
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
자동차 뒷좌석의 엔터테인먼트 시스템에 다중 영역 오디오가 사용되는 방식에 관해 자세히 알아보려면 다중 영역 오디오를 참고하세요.
기기 제조업체는 자동차의 오디오 영역에 디스플레이를 연결할 수 있습니다. 예를 들어 하나의 기본 및 뒷좌석 엔터테인먼트 영역이 있는 자동차의 경우 기기 제조업체는 공급업체 파티션을 다음과 같이 구성할 수 있습니다.
<?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
는 부팅 시 이 구성 파일을 파싱하고 오디오 컨텍스트 또는 오디오 용도별로 오디오 라우팅을 설정합니다. 런타임 도중 CarAudioService
는 앱 실행 이벤트를 추가로 감지한 후 UID 기반 영역에 앱을 동적으로 할당합니다.
구현
기기 제조업체가 구성 파일에 포함할 수 있는 안정적인 ID에 관한 내용은 정적 디스플레이 식별자를 참고하세요.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Multi-zone audio\n\nTo learn more about the use of multi-zone audio in automotive rear-seat entertainment systems,\nsee [Multi-Zone Audio](/docs/devices/automotive/audio#multi-zone).\n\nDevice manufacturers can link a display to an audio zone in a vehicle. For instance, for a car\nwith one primary and rear seat entertainment zone, a device manufacturer can have the following\nconfiguration on the vendor partition:\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ```carbon \u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e \u003ccarAudioConfigurations xmlns:car=\"http://schemas.android.com/apk/res-auto\"\u003e \u003czones\u003e \u003czone name=\"primary zone\"\u003e \u003cvolumeGroups\u003e \u003cgroup\u003e \u003cdevice address=\"bus001_media\"\u003e \u003ccontext context=\"music\"/\u003e \u003c/device\u003e \u003cdevice address=\"bus002_others\"\u003e ... \u003c/device\u003e \u003c/group\u003e \u003c/volumeGroups\u003e \u003cdisplays\u003e \u003cdisplay car:display=\"\u003cdisplay-id-1\u003e\" /\u003e \u003c/displays\u003e \u003c/zone\u003e \u003czone name=\"rear seat\"\u003e \u003cvolumeGroups\u003e \u003cgroup\u003e \u003cdevice address=\"bus100_all\"\u003e ... \u003c/device\u003e \u003c/group\u003e \u003c/volumeGroups\u003e \u003cdisplays\u003e \u003cdisplay car:display=\"\u003cdisplay-id-2\u003e\" /\u003e \u003c/displays\u003e \u003c/zone\u003e \u003c/zones\u003e \u003c/carAudioConfigurations\u003e \u003c/xml\u003e ``` |\n\n`CarAudioService` parses this configuration file and sets up the\naudio routing by its audio context (or audio usage) at boot time. During\nruntime, `CarAudioService` further detects an app launch event and dynamically\nassigns the app to the zone based on UID.\n\nImplementation\n--------------\n\nFor the stable ID that device manufacturers can include in their configuration\nfile, see\n[Static display identifiers](/docs/core/display/multi_display/displays#static)."]]