1<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2<!-- Copyright (C) 2018 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
18    <!-- version section contains a “version” tag in the form “major.minore.g version=”1.0” -->
19
20    <!-- Global configuration Decalaration -->
21    <globalConfiguration speaker_drc_enabled="true"/>
22
23    <!-- Modules section:
24        There is one section per audio HW module present on the platform.
25        Each module section will contains two mandatory tags for audio HAL “halVersion” and “name”.
26        The module names are the same as in current .conf file:
27                “primary”, “A2DP”, “remote_submix”, “USB”
28        Each module will contain the following sections:
29        “devicePorts”: a list of device descriptors for all input and output devices accessible via
30        this module.
31        This contains both permanently attached devices and removable devices.
32            "gain": constraints applied to the millibel values:
33                - maxValueMB >= minValueMB
34                - defaultValueMB >= minValueMB && defaultValueMB <= maxValueMB
35                - (maxValueMB - minValueMB) % stepValueMB == 0
36                - (defaultValueMB - minValueMB) % stepValueMB == 0
37        “mixPorts”: listing all output and input streams exposed by the audio HAL
38        “routes”: list of possible connections between input and output devices or between stream
39        and devices.
40            "route": is defined by an attribute:
41                -"type": <mux|mix> means all sources are mutual exclusive (mux) or can be mixed (mix)
42                -"sink": the sink involved in this route
43                -"sources": all the sources than can be connected to the sink via vis route
44        “attachedDevices”: permanently attached devices.
45        The attachedDevices section is a list of devices names. The names correspond to device names
46        defined in <devicePorts> section.
47        “defaultOutputDevice”: device to be used by default when no policy rule applies
48    -->
49    <modules>
50        <!-- Primary Audio HAL -->
51        <module name="primary" halVersion="3.0">
52            <attachedDevices>
53                <!-- One bus per context -->
54                <item>bus0_media_out</item>
55                <item>bus1_navigation_out</item>
56                <item>bus2_voice_command_out</item>
57                <item>bus3_call_ring_out</item>
58                <item>bus4_call_out</item>
59                <item>bus5_alarm_out</item>
60                <item>bus6_notification_out</item>
61                <item>bus7_system_sound_out</item>
62                <!-- names with _audio_zone_# are used for defined an emulator rear seat audio zone
63                     where each number # is the zone id number -->
64                <item>bus100_audio_zone_1</item>
65                <item>bus101_audio_zone_1</item>
66                <item>bus110_audio_zone_1</item>
67                <item>bus111_audio_zone_1</item>
68                <item>bus200_audio_zone_2</item>
69                <item>bus201_audio_zone_2</item>
70                <item>bus210_audio_zone_2</item>
71                <item>bus211_audio_zone_2</item>
72                <item>bus1000_mirror_device</item>
73                <item>Built-In Mic</item>
74                <item>Built-In Back Mic</item>
75                <item>Echo-Reference Mic</item>
76                <item>FM Tuner</item>
77                <item>Tone Generator 0</item>
78                <item>Tone Generator 1</item>
79            </attachedDevices>
80            <defaultOutputDevice>bus0_media_out</defaultOutputDevice>
81            <mixPorts>
82                <mixPort name="mixport_bus0_media_out" role="source"
83                         flags="AUDIO_OUTPUT_FLAG_PRIMARY">
84                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
85                             samplingRates="48000"
86                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
87                </mixPort>
88                <mixPort name="mixport_bus1_navigation_out" role="source">
89                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
90                             samplingRates="48000"
91                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
92                </mixPort>
93                <mixPort name="mixport_bus2_voice_command_out" role="source">
94                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
95                             samplingRates="48000"
96                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
97                </mixPort>
98                <mixPort name="mixport_bus3_call_ring_out" role="source">
99                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
100                             samplingRates="48000"
101                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
102                </mixPort>
103                <mixPort name="mixport_bus4_call_out" role="source">
104                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
105                             samplingRates="48000"
106                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
107                </mixPort>
108                <mixPort name="mixport_bus5_alarm_out" role="source">
109                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
110                             samplingRates="48000"
111                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
112                </mixPort>
113                <mixPort name="mixport_bus6_notification_out" role="source">
114                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
115                             samplingRates="48000"
116                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
117                </mixPort>
118                <mixPort name="mixport_bus7_system_sound_out" role="source">
119                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
120                             samplingRates="48000"
121                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
122                </mixPort>
123                <mixPort name="mixport_bus100_audio_zone_1" role="source">
124                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
125                             samplingRates="48000"
126                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
127                </mixPort>
128                <mixPort name="mixport_bus101_audio_zone_1" role="source">
129                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
130                             samplingRates="48000"
131                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
132                </mixPort>
133                <mixPort name="mixport_bus110_audio_zone_1" role="source">
134                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
135                        samplingRates="48000"
136                        channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
137                </mixPort>
138                <mixPort name="mixport_bus111_audio_zone_1" role="source">
139                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
140                        samplingRates="48000"
141                        channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
142                </mixPort>
143                <mixPort name="mixport_bus200_audio_zone_2" role="source">
144                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
145                             samplingRates="48000"
146                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
147                </mixPort>
148                <mixPort name="mixport_bus201_audio_zone_2" role="source">
149                  <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
150                             samplingRates="48000"
151                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
152                </mixPort>
153                <mixPort name="mixport_bus210_audio_zone_2" role="source">
154                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
155                        samplingRates="48000"
156                        channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
157                </mixPort>
158                <mixPort name="mixport_bus211_audio_zone_2" role="source">
159                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
160                        samplingRates="48000"
161                        channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
162                </mixPort>
163                <mixPort name="mixport_bus1000_mirror_device" role="source">
164                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
165                             samplingRates="48000"
166                             channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
167                </mixPort>
168                <mixPort name="primary input" role="sink">
169                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
170                             samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
171                             channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
172                </mixPort>
173                <mixPort name="mixport_tuner0" role="sink">
174                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
175                             samplingRates="48000"
176                             channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
177                </mixPort>
178                <mixPort name="mixport_input_bus_tone_zone_0" role="sink">
179                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
180                             samplingRates="48000"
181                             channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
182                </mixPort>
183                <mixPort name="mixport_input_bus_tone_zone_1" role="sink">
184                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
185                             samplingRates="48000"
186                             channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
187                </mixPort>
188            </mixPorts>
189            <devicePorts>
190                <devicePort tagName="bus0_media_out" role="sink" type="AUDIO_DEVICE_OUT_BUS"
191                            address="bus0_media_out">
192                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
193                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
194                    <gains>
195                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
196                              minValueMB="-3200" maxValueMB="600"
197                              defaultValueMB="0" stepValueMB="100"/>
198                    </gains>
199                </devicePort>
200                <devicePort tagName="bus1_navigation_out" role="sink" type="AUDIO_DEVICE_OUT_BUS"
201                        address="bus1_navigation_out">
202                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
203                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
204                    <gains>
205                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
206                              minValueMB="-3200" maxValueMB="600"
207                              defaultValueMB="0" stepValueMB="100"/>
208                    </gains>
209                </devicePort>
210                <devicePort tagName="bus2_voice_command_out" role="sink" type="AUDIO_DEVICE_OUT_BUS"
211                            address="bus2_voice_command_out">
212                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
213                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
214                    <gains>
215                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
216                              minValueMB="-3200" maxValueMB="600"
217                              defaultValueMB="0" stepValueMB="100"/>
218                    </gains>
219                </devicePort>
220                <devicePort tagName="bus3_call_ring_out" role="sink" type="AUDIO_DEVICE_OUT_BUS"
221                            address="bus3_call_ring_out">
222                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
223                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
224                    <gains>
225                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
226                              minValueMB="-3200" maxValueMB="600"
227                              defaultValueMB="0" stepValueMB="100"/>
228                    </gains>
229                </devicePort>
230                <devicePort tagName="bus4_call_out" role="sink" type="AUDIO_DEVICE_OUT_BUS"
231                            address="bus4_call_out">
232                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
233                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
234                    <gains>
235                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
236                              minValueMB="-3200" maxValueMB="600"
237                              defaultValueMB="0" stepValueMB="100"/>
238                    </gains>
239                </devicePort>
240                <devicePort tagName="bus5_alarm_out" role="sink" type="AUDIO_DEVICE_OUT_BUS"
241                            address="bus5_alarm_out">
242                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
243                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
244                    <gains>
245                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
246                              minValueMB="-3200" maxValueMB="600"
247                              defaultValueMB="0" stepValueMB="100"/>
248                    </gains>
249                </devicePort>
250                <devicePort tagName="bus6_notification_out" role="sink" type="AUDIO_DEVICE_OUT_BUS"
251                            address="bus6_notification_out">
252                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
253                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
254                    <gains>
255                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
256                              minValueMB="-3200" maxValueMB="600"
257                              defaultValueMB="0" stepValueMB="100"/>
258                    </gains>
259                </devicePort>
260                <devicePort tagName="bus7_system_sound_out" role="sink" type="AUDIO_DEVICE_OUT_BUS"
261                            address="bus7_system_sound_out">
262                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
263                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
264                    <gains>
265                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
266                              minValueMB="-3200" maxValueMB="600"
267                              defaultValueMB="0" stepValueMB="100"/>
268                    </gains>
269                </devicePort>
270                <devicePort tagName="bus100_audio_zone_1" role="sink" type="AUDIO_DEVICE_OUT_BUS"
271                            address="bus100_audio_zone_1">
272                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
273                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
274                    <gains>
275                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
276                              minValueMB="-3200" maxValueMB="600"
277                              defaultValueMB="0" stepValueMB="100"/>
278                    </gains>
279                </devicePort>
280                <devicePort tagName="bus101_audio_zone_1" role="sink" type="AUDIO_DEVICE_OUT_BUS"
281                            address="bus101_audio_zone_1">
282                   <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
283                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
284                    <gains>
285                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
286                              minValueMB="-3200" maxValueMB="600"
287                              defaultValueMB="0" stepValueMB="100"/>
288                    </gains>
289                </devicePort>
290                <devicePort tagName="bus110_audio_zone_1" role="sink" type="AUDIO_DEVICE_OUT_BUS"
291                            address="bus110_audio_zone_1">
292                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
293                        samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
294                    <gains>
295                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
296                            minValueMB="-3200" maxValueMB="600"
297                            defaultValueMB="0" stepValueMB="100"/>
298                    </gains>
299                </devicePort>
300                <devicePort tagName="bus111_audio_zone_1" role="sink" type="AUDIO_DEVICE_OUT_BUS"
301                            address="bus111_audio_zone_1">
302                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
303                        samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
304                    <gains>
305                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
306                            minValueMB="-3200" maxValueMB="600"
307                            defaultValueMB="0" stepValueMB="100"/>
308                    </gains>
309                </devicePort>
310                <devicePort tagName="bus1000_mirror_device" role="sink" type="AUDIO_DEVICE_OUT_BUS"
311                            address="bus1000_mirror_device">
312                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
313                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
314                    <gains>
315                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
316                              minValueMB="-3200" maxValueMB="600"
317                              defaultValueMB="0" stepValueMB="100"/>
318                    </gains>
319                </devicePort>
320                <devicePort tagName="bus200_audio_zone_2" role="sink" type="AUDIO_DEVICE_OUT_BUS"
321                            address="bus200_audio_zone_2">
322                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
323                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
324                    <gains>
325                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
326                              minValueMB="-3200" maxValueMB="600"
327                              defaultValueMB="0" stepValueMB="100"/>
328                    </gains>
329                </devicePort>
330                <devicePort tagName="bus201_audio_zone_2" role="sink" type="AUDIO_DEVICE_OUT_BUS"
331                            address="bus201_audio_zone_2">
332                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
333                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
334                    <gains>
335                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
336                              minValueMB="-3200" maxValueMB="600"
337                              defaultValueMB="0" stepValueMB="100"/>
338                    </gains>
339                </devicePort>
340                <devicePort tagName="bus210_audio_zone_2" role="sink" type="AUDIO_DEVICE_OUT_BUS"
341                            address="bus210_audio_zone_2">
342                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
343                        samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
344                    <gains>
345                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
346                            minValueMB="-3200" maxValueMB="600"
347                            defaultValueMB="0" stepValueMB="100"/>
348                    </gains>
349                </devicePort>
350                <devicePort tagName="bus211_audio_zone_2" role="sink" type="AUDIO_DEVICE_OUT_BUS"
351                            address="bus211_audio_zone_2">
352                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
353                        samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
354                    <gains>
355                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
356                            minValueMB="-3200" maxValueMB="600"
357                            defaultValueMB="0" stepValueMB="100"/>
358                    </gains>
359                </devicePort>
360                <devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source"
361                    address="Built-In Mic" >
362                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
363                             samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
364                             channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
365                </devicePort>
366                <devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC"
367                            role="source" address="Built-In Back Mic">
368                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
369                             samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
370                             channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
371                </devicePort>
372                <devicePort tagName="Echo-Reference Mic" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source"
373                            address="Echo-Reference Mic">
374                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
375                             samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
376                             channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
377                </devicePort>
378                <devicePort tagName="FM Tuner" type="AUDIO_DEVICE_IN_FM_TUNER" role="source"
379                            address="tuner0">
380                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
381                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
382                    <gains>
383                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
384                              minValueMB="-3200" maxValueMB="600" defaultValueMB="0" stepValueMB="100"/>
385                    </gains>
386                </devicePort>
387                <devicePort tagName="Tone Generator 0" type="AUDIO_DEVICE_IN_BUS" role="source"
388                            address="input_bus_tone_zone_0">
389                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
390                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
391                    <gains>
392                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
393                              minValueMB="-3200" maxValueMB="600"
394                              defaultValueMB="0" stepValueMB="100"/>
395                    </gains>
396                </devicePort>
397                <devicePort tagName="Tone Generator 1" type="AUDIO_DEVICE_IN_BUS" role="source"
398                            address="input_bus_tone_zone_1">
399                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
400                             samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
401                    <gains>
402                        <gain name="" mode="AUDIO_GAIN_MODE_JOINT"
403                              minValueMB="-3200" maxValueMB="600"
404                              defaultValueMB="0" stepValueMB="100"/>
405                    </gains>
406                </devicePort>
407            </devicePorts>
408            <!-- route declaration, i.e. list all available sources for a given sink -->
409            <routes>
410                <route type="mix" sink="bus0_media_out" sources="mixport_bus0_media_out"/>
411                <route type="mix" sink="bus1_navigation_out" sources="mixport_bus1_navigation_out"/>
412                <route type="mix" sink="bus2_voice_command_out"
413                       sources="mixport_bus2_voice_command_out"/>
414                <route type="mix" sink="bus3_call_ring_out" sources="mixport_bus3_call_ring_out"/>
415                <route type="mix" sink="bus4_call_out" sources="mixport_bus4_call_out"/>
416                <route type="mix" sink="bus5_alarm_out" sources="mixport_bus5_alarm_out"/>
417                <route type="mix" sink="bus6_notification_out"
418                       sources="mixport_bus6_notification_out"/>
419                <route type="mix" sink="bus7_system_sound_out"
420                       sources="mixport_bus7_system_sound_out"/>
421                <route type="mix" sink="bus100_audio_zone_1" sources="mixport_bus100_audio_zone_1"/>
422                <route type="mix" sink="bus101_audio_zone_1" sources="mixport_bus101_audio_zone_1"/>
423                <route type="mix" sink="bus110_audio_zone_1" sources="mixport_bus110_audio_zone_1"/>
424                <route type="mix" sink="bus111_audio_zone_1" sources="mixport_bus111_audio_zone_1"/>
425                <route type="mix" sink="bus1000_mirror_device" sources="mixport_bus1000_mirror_device"/>
426                <route type="mix" sink="bus200_audio_zone_2" sources="mixport_bus200_audio_zone_2"/>
427                <route type="mix" sink="bus201_audio_zone_2" sources="mixport_bus201_audio_zone_2"/>
428                <route type="mix" sink="bus210_audio_zone_2" sources="mixport_bus210_audio_zone_2"/>
429                <route type="mix" sink="bus211_audio_zone_2" sources="mixport_bus211_audio_zone_2"/>
430                <route type="mix" sink="primary input"
431                       sources="Built-In Mic,Built-In Back Mic,Echo-Reference Mic"/>
432                <route type="mix" sink="mixport_tuner0" sources="FM Tuner"/>
433                <route type="mix" sink="mixport_input_bus_tone_zone_0" sources="Tone Generator 0"/>
434                <route type="mix" sink="mixport_input_bus_tone_zone_1" sources="Tone Generator 1"/>
435            </routes>
436
437        </module>
438
439        <!-- A2dp Audio HAL -->
440        <xi:include href="a2dp_audio_policy_configuration.xml"/>
441
442        <!-- Usb Audio HAL -->
443        <xi:include href="usb_audio_policy_configuration.xml"/>
444
445        <!-- Remote Submix Audio HAL -->
446        <xi:include href="r_submix_audio_policy_configuration.xml"/>
447
448    </modules>
449    <!-- End of Modules section -->
450
451    <!-- Volume section -->
452
453    <xi:include href="audio_policy_volumes.xml"/>
454    <xi:include href="default_volume_tables.xml"/>
455
456    <!-- End of Volume section -->
457    <!-- End of Modules section -->
458
459</audioPolicyConfiguration>
460