Commit 90f94b7
committed
src: audio: module_adapter: Do the params config right after init
The module_adapter_params() functions set the stream params based on the
base config for each module which is available right after module init.
So configure the params for IPC4 during module_new() and remove the call
to ipc4_pipeline_params(). In order to update the buffer params, add a
call to comp_verify_params() during module_bind when the intermediate
buffers between modules are created. This should help with reducing the
time to trigger pipelines during start.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>1 parent 60e7a0a commit 90f94b7
File tree
3 files changed
+22
-51
lines changed- src
- audio/module_adapter
- ipc/ipc4
3 files changed
+22
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
126 | 139 | | |
127 | 140 | | |
128 | 141 | | |
| |||
1185 | 1198 | | |
1186 | 1199 | | |
1187 | 1200 | | |
| 1201 | + | |
1188 | 1202 | | |
1189 | 1203 | | |
1190 | | - | |
| 1204 | + | |
1191 | 1205 | | |
1192 | 1206 | | |
1193 | 1207 | | |
| |||
1219 | 1233 | | |
1220 | 1234 | | |
1221 | 1235 | | |
| 1236 | + | |
1222 | 1237 | | |
1223 | 1238 | | |
1224 | 1239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
257 | 262 | | |
258 | 263 | | |
259 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | 158 | | |
199 | 159 | | |
200 | 160 | | |
| |||
205 | 165 | | |
206 | 166 | | |
207 | 167 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | 168 | | |
218 | 169 | | |
219 | 170 | | |
| |||
0 commit comments