1<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 2<!-- 3 ~ Copyright (C) 2020 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude"> 19 <globalConfiguration speaker_drc_enabled="false"/> 20 <modules> 21 <module name="primary" halVersion="2.0"> 22 <attachedDevices> 23 <item>Stub</item> 24 </attachedDevices> 25 <defaultOutputDevice>Stub</defaultOutputDevice> 26 <mixPorts> 27 <mixPort name="primary pcm" role="source" 28 flags="AUDIO_OUTPUT_FLAG_PRIMARY"> 29 <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" 30 samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> 31 </mixPort> 32 <mixPort name="multichannel output" role="source" 33 flags="AUDIO_OUTPUT_FLAG_DIRECT"> 34 <profile name="" /> 35 </mixPort> 36 </mixPorts> 37 <devicePorts> 38 <devicePort tagName="Stub" type="AUDIO_DEVICE_OUT_STUB" role="sink" /> 39 <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_HDMI" role="sink" /> 40 </devicePorts> 41 <routes> 42 <route type="mix" sink="Stub" sources="primary pcm"/> 43 <route type="mix" sink="HDMI" sources="primary pcm,multichannel output"/> 44 </routes> 45 </module> 46 </modules> 47</audioPolicyConfiguration> 48