1<?xml version="1.0" encoding="UTF-8"?>
2<ComponentTypeSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3              xmlns:xi="http://www.w3.org/2001/XInclude"
4              xsi:noNamespaceSchemaLocation="Schemas/ComponentTypeSet.xsd">
5    <!-- Output devices definition as a bitfield for the supported devices per output
6    profile. It must match with the output device enum parameter.
7    -->
8     <!--#################### GLOBAL COMPONENTS BEGIN ####################-->
9
10     <!--#################### GLOBAL COMPONENTS END ####################-->
11
12    <!-- Automatically filled from audio-base.h file -->
13    <ComponentType Name="OutputDevicesMask" Description="32th bit is not allowed as dedicated for input devices detection">
14        <BitParameterBlock Name="mask" Size="32">
15        </BitParameterBlock>
16    </ComponentType>
17
18    <!-- Input devices definition as a bitfield for the supported devices per Input
19    profile. It must match with the Input device enum parameter.
20    -->
21    <!-- Automatically filled from audio-base.h file -->
22    <ComponentType Name="InputDevicesMask">
23        <BitParameterBlock Name="mask" Size="32">
24        </BitParameterBlock>
25    </ComponentType>
26
27    <!--#################### STREAM COMMON TYPES BEGIN ####################-->
28    <!-- Automatically filled from audio-base.h file. VolumeProfileType is associated to stream type -->
29    <ComponentType Name="VolumeProfileType">
30        <EnumParameter Name="volume_profile" Size="32">
31        </EnumParameter>
32    </ComponentType>
33
34    <ComponentType Name="Stream"  Mapping="Stream">
35        <Component Name="applicable_volume_profile" Type="VolumeProfileType"
36                   Description="Volume profile followed by a given stream type."/>
37    </ComponentType>
38
39    <!--#################### STREAM COMMON TYPES END ####################-->
40
41    <!--#################### INPUT SOURCE COMMON TYPES BEGIN ####################-->
42
43    <ComponentType Name="InputSource">
44        <Component Name="applicable_input_device" Type="InputDevicesMask"
45                   Mapping="InputSource" Description="Selected Input device"/>
46    </ComponentType>
47
48    <!--#################### INPUT SOURCE COMMON TYPES END ####################-->
49
50    <!--#################### PRODUCT STRATEGY COMMON TYPES BEGIN ####################-->
51
52    <ComponentType Name="ProductStrategy" Mapping="ProductStrategy">
53        <Component Name="selected_output_devices" Type="OutputDevicesMask"/>
54        <StringParameter Name="device_address" MaxLength="256"
55                         Description="if any, device address associated"/>
56    </ComponentType>
57
58    <!--#################### PRODUCT STRATEGY COMMON TYPES END ####################-->
59
60</ComponentTypeSet>
61