Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: SOF: ipc4-topology: Fix pipeline params at the output of copier
Today, the prepare op for the copier only modifies the sample format in the pipeline_params to match that of its output format. But consider the case when a copier is connected to an SRC like below: copier.SSP.1.1 -> src.1.1 -> copier.host.1.1 Let's say we want to capture 44.1K 32bit 2ch audio and that the sampling frequency is fixed to 48KHz at the copier.SSP.1.1. pipeline_params starts off being the same as that as the fe_params, so the rate will be 44.1KHz at the start. But since the copier.SSP.1.1 only captures at 48KHz, the pipeline_params must be changed to match this rate, so that the SRC prepare op can use this as the reference for selecting the input audio format. Signed-off-by: Ranjani Sridharan <[email protected]>
- Loading branch information