|
11 | 11 | <tokens.conf> |
12 | 12 | <host-gateway-capture.conf> |
13 | 13 | <host-gateway-playback.conf> |
| 14 | +<mixout-gain-dai-copier-playback.conf> |
| 15 | +<host-copier-gain-mixin-playback.conf> |
14 | 16 | <io-gateway-capture.conf> |
15 | 17 | <io-gateway.conf> |
16 | 18 | <data.conf> |
|
22 | 24 | <common_definitions.conf> |
23 | 25 | <dai-copier.conf> |
24 | 26 | <module-copier.conf> |
| 27 | +<gain.conf> |
25 | 28 | <pipeline.conf> |
26 | 29 | <input_audio_format.conf> |
27 | 30 | <output_audio_format.conf> |
@@ -87,57 +90,185 @@ Object.Pipeline.host-gateway-capture [ |
87 | 90 | } |
88 | 91 | ] |
89 | 92 |
|
90 | | -Object.Pipeline.io-gateway [ |
91 | | - { |
92 | | - index 4 |
93 | | - direction playback |
| 93 | +IncludeByKey.PLAYBACK_PROCESS { |
| 94 | +"passthrough" { |
| 95 | + Object.Pipeline.io-gateway [ |
| 96 | + { |
| 97 | + index 4 |
| 98 | + direction playback |
94 | 99 |
|
95 | | - Object.Widget.dai-copier.1 { |
96 | | - dai_index 1 |
97 | | - dai_type "SSP" |
98 | | - copier_type "SSP" |
99 | | - stream_name "NoCodec-1" |
100 | | - node_type $I2S_LINK_OUTPUT_CLASS |
101 | | - num_input_audio_formats 1 |
102 | | - Object.Base.input_audio_format [ |
103 | | - { |
104 | | - in_bit_depth 16 |
105 | | - in_valid_bit_depth 16 |
| 100 | + Object.Widget.dai-copier.1 { |
| 101 | + dai_index 1 |
| 102 | + dai_type "SSP" |
| 103 | + copier_type "SSP" |
| 104 | + stream_name "NoCodec-1" |
| 105 | + node_type $I2S_LINK_OUTPUT_CLASS |
| 106 | + num_input_audio_formats 1 |
| 107 | + Object.Base.input_audio_format [ |
| 108 | + { |
| 109 | + in_bit_depth 16 |
| 110 | + in_valid_bit_depth 16 |
| 111 | + } |
| 112 | + ] |
| 113 | + num_output_audio_formats 1 |
| 114 | + Object.Base.output_audio_format [ |
| 115 | + { |
| 116 | + out_bit_depth 16 |
| 117 | + out_valid_bit_depth 16 |
| 118 | + } |
| 119 | + ] |
106 | 120 | } |
107 | | - ] |
108 | | - num_output_audio_formats 1 |
109 | | - Object.Base.output_audio_format [ |
110 | | - { |
111 | | - out_bit_depth 16 |
112 | | - out_valid_bit_depth 16 |
| 121 | + } |
| 122 | + ] |
| 123 | + Object.Pipeline.host-gateway-playback [ |
| 124 | + { |
| 125 | + index 3 |
| 126 | + Object.Widget.host-copier.1 { |
| 127 | + stream_name 'SSP1 Playback' |
| 128 | + pcm_id 1 |
| 129 | + num_input_audio_formats 1 |
| 130 | + Object.Base.input_audio_format [ |
| 131 | + { |
| 132 | + in_bit_depth 16 |
| 133 | + in_valid_bit_depth 16 |
| 134 | + } |
| 135 | + ] |
| 136 | + num_output_audio_formats 1 |
| 137 | + Object.Base.output_audio_format [ |
| 138 | + { |
| 139 | + out_bit_depth 16 |
| 140 | + out_valid_bit_depth 16 |
| 141 | + } |
| 142 | + ] |
113 | 143 | } |
114 | | - ] |
115 | | - } |
| 144 | + } |
| 145 | + ] |
116 | 146 | } |
117 | | -] |
118 | | -Object.Pipeline.host-gateway-playback [ |
119 | | - { |
120 | | - index 3 |
121 | | - Object.Widget.host-copier.1 { |
122 | | - stream_name 'SSP1 Playback' |
123 | | - pcm_id 1 |
124 | | - num_input_audio_formats 1 |
125 | | - Object.Base.input_audio_format [ |
126 | | - { |
127 | | - in_bit_depth 16 |
128 | | - in_valid_bit_depth 16 |
| 147 | +"mix" { |
| 148 | + Object.Pipeline.mixout-gain-dai-copier-playback [ |
| 149 | + { |
| 150 | + index 4 |
| 151 | + |
| 152 | + Object.Widget.dai-copier.1 { |
| 153 | + dai_index 1 |
| 154 | + dai_type "SSP" |
| 155 | + copier_type "SSP" |
| 156 | + stream_name "NoCodec-1" |
| 157 | + node_type $I2S_LINK_OUTPUT_CLASS |
| 158 | + num_input_audio_formats 1 |
| 159 | + Object.Base.input_audio_format [ |
| 160 | + { |
| 161 | + in_bit_depth 16 |
| 162 | + in_valid_bit_depth 16 |
| 163 | + } |
| 164 | + ] |
| 165 | + num_output_audio_formats 1 |
| 166 | + Object.Base.output_audio_format [ |
| 167 | + { |
| 168 | + out_bit_depth 16 |
| 169 | + out_valid_bit_depth 16 |
| 170 | + } |
| 171 | + ] |
129 | 172 | } |
130 | | - ] |
131 | | - num_output_audio_formats 1 |
132 | | - Object.Base.output_audio_format [ |
133 | | - { |
134 | | - out_bit_depth 16 |
135 | | - out_valid_bit_depth 16 |
| 173 | + Object.Widget.gain.1 { |
| 174 | + curve_type "windows_fade" |
| 175 | + Object.Control.mixer.1 { |
| 176 | + name 'Post Mixer PlugPCM Playback Volume' |
| 177 | + } |
| 178 | + num_input_audio_formats 1 |
| 179 | + Object.Base.input_audio_format [ |
| 180 | + { |
| 181 | + in_bit_depth 16 |
| 182 | + in_valid_bit_depth 16 |
| 183 | + } |
| 184 | + ] |
| 185 | + num_output_audio_formats 1 |
| 186 | + Object.Base.output_audio_format [ |
| 187 | + { |
| 188 | + out_bit_depth 16 |
| 189 | + out_valid_bit_depth 16 |
| 190 | + } |
| 191 | + ] |
136 | 192 | } |
137 | | - ] |
138 | | - } |
| 193 | + Object.Widget.mixout.1 { |
| 194 | + num_input_audio_formats 1 |
| 195 | + Object.Base.input_audio_format [ |
| 196 | + { |
| 197 | + in_bit_depth 16 |
| 198 | + in_valid_bit_depth 16 |
| 199 | + } |
| 200 | + ] |
| 201 | + num_output_audio_formats 1 |
| 202 | + Object.Base.output_audio_format [ |
| 203 | + { |
| 204 | + out_bit_depth 16 |
| 205 | + out_valid_bit_depth 16 |
| 206 | + } |
| 207 | + ] |
| 208 | + } |
| 209 | + } |
| 210 | + ] |
| 211 | + Object.Pipeline.host-copier-gain-mixin-playback [ |
| 212 | + { |
| 213 | + index 3 |
| 214 | + Object.Widget.host-copier.1 { |
| 215 | + stream_name 'SSP1 Playback' |
| 216 | + pcm_id 1 |
| 217 | + num_input_audio_formats 1 |
| 218 | + Object.Base.input_audio_format [ |
| 219 | + { |
| 220 | + in_bit_depth 16 |
| 221 | + in_valid_bit_depth 16 |
| 222 | + } |
| 223 | + ] |
| 224 | + num_output_audio_formats 1 |
| 225 | + Object.Base.output_audio_format [ |
| 226 | + { |
| 227 | + out_bit_depth 16 |
| 228 | + out_valid_bit_depth 16 |
| 229 | + } |
| 230 | + ] |
| 231 | + } |
| 232 | + Object.Widget.gain.1 { |
| 233 | + curve_type "windows_fade" |
| 234 | + Object.Control.mixer.1 { |
| 235 | + name 'Pre Mixer PlugPCM Playback Volume' |
| 236 | + } |
| 237 | + num_input_audio_formats 1 |
| 238 | + Object.Base.input_audio_format [ |
| 239 | + { |
| 240 | + in_bit_depth 16 |
| 241 | + in_valid_bit_depth 16 |
| 242 | + } |
| 243 | + ] |
| 244 | + num_output_audio_formats 1 |
| 245 | + Object.Base.output_audio_format [ |
| 246 | + { |
| 247 | + out_bit_depth 16 |
| 248 | + out_valid_bit_depth 16 |
| 249 | + } |
| 250 | + ] |
| 251 | + } |
| 252 | + Object.Widget.mixin.1 { |
| 253 | + num_input_audio_formats 1 |
| 254 | + Object.Base.input_audio_format [ |
| 255 | + { |
| 256 | + in_bit_depth 16 |
| 257 | + in_valid_bit_depth 16 |
| 258 | + } |
| 259 | + ] |
| 260 | + num_output_audio_formats 1 |
| 261 | + Object.Base.output_audio_format [ |
| 262 | + { |
| 263 | + out_bit_depth 16 |
| 264 | + out_valid_bit_depth 16 |
| 265 | + } |
| 266 | + ] |
| 267 | + } |
| 268 | + } |
| 269 | + ] |
139 | 270 | } |
140 | | -] |
| 271 | +} |
141 | 272 |
|
142 | 273 | Object.PCM.pcm [ |
143 | 274 | { |
@@ -188,9 +319,29 @@ IncludeByKey.NOISE_SUPPRESSION { |
188 | 319 | } |
189 | 320 | } |
190 | 321 |
|
191 | | -Object.Base.route [ |
192 | | - { |
193 | | - source "host-copier.1.playback" |
194 | | - sink "dai-copier.SSP.NoCodec-1.playback" |
| 322 | +IncludeByKey.PLAYBACK_PROCESS { |
| 323 | +"passthrough" { |
| 324 | + Object.Base.route [ |
| 325 | + { |
| 326 | + source "host-copier.1.playback" |
| 327 | + sink "dai-copier.SSP.NoCodec-1.playback" |
| 328 | + } |
| 329 | + ] |
195 | 330 | } |
196 | | -] |
| 331 | +"mix" { |
| 332 | + Object.Base.route [ |
| 333 | + { |
| 334 | + source "host-copier.1.playback" |
| 335 | + sink "gain.3.1" |
| 336 | + } |
| 337 | + { |
| 338 | + source "mixin.3.1" |
| 339 | + sink "mixout.4.1" |
| 340 | + } |
| 341 | + { |
| 342 | + source "gain.4.1" |
| 343 | + sink "dai-copier.SSP.NoCodec-1.playback" |
| 344 | + } |
| 345 | + ] |
| 346 | + } |
| 347 | +} |
0 commit comments