• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright (C) 2015 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<!-- Remote Submix Audio Policy Configuration file -->
17<module name="r_submix" halVersion="2.0">
18    <attachedDevices>
19        <item>Remote Submix In</item>
20    </attachedDevices>
21    <mixPorts>
22        <mixPort name="r_submix output" role="source">
23            <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
24                     samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
25        </mixPort>
26        <mixPort name="r_submix input" role="sink">
27           <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
28                    samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
29        </mixPort>
30   </mixPorts>
31   <devicePorts>
32       <devicePort tagName="Remote Submix Out" type="AUDIO_DEVICE_OUT_REMOTE_SUBMIX"  role="sink">
33           <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
34                    samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
35       </devicePort>
36       <devicePort tagName="Remote Submix In" type="AUDIO_DEVICE_IN_REMOTE_SUBMIX"  role="source">
37           <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
38                    samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
39        </devicePort>
40    </devicePorts>
41    <routes>
42        <route type="mix" sink="Remote Submix Out"
43               sources="r_submix output"/>
44        <route type="mix" sink="r_submix input"
45               sources="Remote Submix In"/>
46    </routes>
47</module>
48