linux icon indicating copy to clipboard operation
linux copied to clipboard

ASoC: SOF: ipc4-topology: Correct the process module's output lookup

Open ujfalusi opened this issue 7 months ago • 2 comments

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]

ujfalusi avatar Jun 03 '25 10:06 ujfalusi

Changes since v1:

  • rebased on 8-bit format support

ujfalusi avatar Jun 23 '25 13:06 ujfalusi

Changes since v2:

  • rebased on the fmt type fix

ujfalusi avatar Jun 26 '25 07:06 ujfalusi