1<searchdir:include>
2<searchdir:include/common>
3<searchdir:include/components>
4<searchdir:include/dais>
5<searchdir:include/controls>
6<searchdir:include/pipelines/cavs>
7<searchdir:platform>
8<searchdir:platform/intel>
9
10<vendor-token.conf>
11<tokens.conf>
12<virtual.conf>
13<src-gain-mixin-playback.conf>
14<mixout-gain-dai-copier-playback.conf>
15<host-gateway-capture.conf>
16<io-gateway-capture.conf>
17<data.conf>
18<pcm.conf>
19<pcm_caps.conf>
20<fe_dai.conf>
21<alh.conf>
22<hw_config_simple.conf>
23<manifest.conf>
24<route.conf>
25<intel/common_definitions.conf>
26<copier.conf>
27<pipeline.conf>
28<dai.conf>
29<host.conf>
30
31Define {
32	SDW_PLAYBACK_PCM	'SDW0-Playback'
33	SDW_CAPTURE_PCM		'SDW0-Capture'
34	PLAYBACK_LINK_ID	0
35	CAPTURE_LINK_ID		1
36}
37
38#
39# List of all DAIs
40#
41#ALH Index: 0, Direction: duplex
42Object.Dai.ALH [
43	{
44		dai_index 0
45		id 		$PLAYBACK_LINK_ID
46		direction	"playback"
47		name		$SDW_PLAYBACK_PCM
48		default_hw_conf_id	0
49		rate			48000
50		channels		2
51
52		Object.Base.hw_config.1 {
53			id	0
54			name	"ALH2"
55		}
56	}
57	{
58		dai_index 10
59		id 		$CAPTURE_LINK_ID
60		direction	"capture"
61		name		$SDW_CAPTURE_PCM
62		default_hw_conf_id	1
63		rate			48000
64		channels		2
65
66		Object.Base.hw_config.1 {
67			id	1
68			name	ALH3
69		}
70	}
71]
72
73#
74# Pipeline definitions
75#
76
77# Pipeline ID:1 PCM ID: 0
78Object.Pipeline {
79	src-gain-mixin-playback [
80			{
81			index 1
82
83			Object.Widget.copier.1.stream_name	"Gain Playback 0"
84		        Object.Widget.gain.1{
85		                Object.Control.mixer.1 {
86		                        name 'Src Playback Volume'
87		                }
88		        }
89
90		}
91	]
92
93	mixout-gain-dai-copier-playback [
94			{
95			index 2
96
97			Object.Widget.copier.1 {
98				stream_name	$SDW_PLAYBACK_PCM
99				dai_type	"ALH"
100				copier_type	"ALH"
101				type		"dai_in"
102				node_type $ALH_LINK_OUTPUT_CLASS
103			}
104
105		        Object.Widget.gain.1 {
106		                Object.Control.mixer.1 {
107		                        name 'Main Playback Volume'
108		                }
109		        }
110		}
111	]
112
113	host-gateway-capture [
114			{
115			index 4
116
117			Object.Widget.copier.1.stream_name	"Passthrough Capture 0"
118			Object.Widget.copier.1.Object.Base.audio_format.1 {
119				# 32 -> 16 bits conversion is done here,
120				# so in_bit_depth is 32 (and out_bit_depth is 16).
121				in_bit_depth	32
122			}
123		}
124	]
125
126	io-gateway-capture [
127		{
128			direction	"capture"
129			index 3
130			copier_type "ALH"
131			Object.Widget.copier.1 {
132				stream_name	$SDW_CAPTURE_PCM
133				dai_type	"ALH"
134				copier_type	"ALH"
135				type		"dai_out"
136				node_type $ALH_LINK_INPUT_CLASS
137			}
138		}
139	]
140}
141
142Object.PCM.pcm [
143	{
144		name	"Jack out"
145		id 0
146		direction	"playback"
147		Object.Base.fe_dai.1 {
148			name	"Jack out"
149		}
150
151		Object.PCM.pcm_caps.1 {
152			name "Gain Playback 0"
153			formats 'S16_LE,S32_LE'
154			rate_min 16000
155			rate_max 48000
156		}
157	}
158	{
159		name	"Jack in"
160		id 1
161		direction	"capture"
162		Object.Base.fe_dai.1 {
163			name	"Jack in"
164		}
165
166		Object.PCM.pcm_caps.1 {
167			name "Passthrough Capture 0"
168			formats 'S16_LE,S32_LE'
169		}
170	}
171]
172
173Object.Base.route [
174	{
175		source	"mixin.1.1"
176		sink	"mixout.2.1"
177	}
178        {
179                source 'gain.2.1'
180                sink 'copier.ALH.2.1'
181        }
182	{
183		source	"copier.ALH.3.1"
184		sink	"copier.host.4.1"
185	}
186]
187