blob: d63f37210f5ec21f6be53e6aa656a5a4db66d117
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 | <mixPorts> |
19 | <mixPort name="r_submix output" role="source"> |
20 | <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" |
21 | samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> |
22 | </mixPort> |
23 | <mixPort name="r_submix input" role="sink"> |
24 | <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" |
25 | samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/> |
26 | </mixPort> |
27 | </mixPorts> |
28 | <devicePorts> |
29 | <devicePort tagName="Remote Submix Out" type="AUDIO_DEVICE_OUT_REMOTE_SUBMIX" role="sink"> |
30 | <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" |
31 | samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> |
32 | </devicePort> |
33 | <devicePort tagName="Remote Submix In" type="AUDIO_DEVICE_IN_REMOTE_SUBMIX" role="source"> |
34 | <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" |
35 | samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/> |
36 | </devicePort> |
37 | </devicePorts> |
38 | <routes> |
39 | <route type="mix" sink="Remote Submix Out" |
40 | sources="r_submix output"/> |
41 | <route type="mix" sink="r_submix input" |
42 | sources="Remote Submix In"/> |
43 | </routes> |
44 | </module> |
45 |