Commit ea4f69e
committed
ASoC: SOF: ipc4-topology: Correct the process module's output lookup
The process module can change different parameters in the audio path and
this change has to be properly evaluated and applied.
In case of playback we are converting from multiple input formats to a
single format (or just passing through without change), the output format
lookup must be based on the input format.
In case of capture, we are converting from a single input format to a
format which is to be passed to the FE, we need to use the input parameters
and the FE parameters to be able to find the correct format:
for those parameters that are modified by the module instance we need to
use the FE parameter while for the rest we use the input parameters.
Signed-off-by: Peter Ujfalusi <[email protected]>1 parent 53ada05 commit ea4f69e
1 file changed
+36
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2671 | 2671 | | |
2672 | 2672 | | |
2673 | 2673 | | |
2674 | | - | |
2675 | | - | |
| 2674 | + | |
| 2675 | + | |
2676 | 2676 | | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
2677 | 2692 | | |
2678 | 2693 | | |
2679 | | - | |
2680 | | - | |
2681 | | - | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
| 2701 | + | |
| 2702 | + | |
| 2703 | + | |
| 2704 | + | |
| 2705 | + | |
| 2706 | + | |
| 2707 | + | |
| 2708 | + | |
2682 | 2709 | | |
2683 | 2710 | | |
2684 | 2711 | | |
2685 | 2712 | | |
2686 | | - | |
2687 | | - | |
2688 | | - | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
2689 | 2716 | | |
2690 | 2717 | | |
2691 | 2718 | | |
| |||
2699 | 2726 | | |
2700 | 2727 | | |
2701 | 2728 | | |
2702 | | - | |
2703 | | - | |
2704 | | - | |
| 2729 | + | |
2705 | 2730 | | |
2706 | 2731 | | |
2707 | 2732 | | |
| |||
0 commit comments