Commit e891b75
committed
audio: module_adapter: Remove use of comp_verify_params for IPC4
comp_verify_params does 3 things, update comp params based on buffer
flags, then set buffer params based on comp params and then finally set
the component period frames based on buffer frames. In the case of
IPC4, buffer flags are unused, so there's no need to update comp params
based on these flags. So, move the setting of buffer params during the
modules binding call where the buffers are allocated. Finally, set the
component period frames based on the module's params during module init.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>1 parent 491bc1c commit e891b75
2 files changed
+21
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
| |||
215 | 218 | | |
216 | 219 | | |
217 | 220 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 221 | + | |
223 | 222 | | |
224 | 223 | | |
225 | 224 | | |
| |||
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | 230 | | |
238 | 231 | | |
239 | 232 | | |
| |||
523 | 516 | | |
524 | 517 | | |
525 | 518 | | |
| 519 | + | |
526 | 520 | | |
527 | 521 | | |
528 | 522 | | |
529 | 523 | | |
530 | 524 | | |
| 525 | + | |
531 | 526 | | |
532 | 527 | | |
533 | 528 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
686 | 701 | | |
687 | 702 | | |
688 | 703 | | |
| |||
0 commit comments