Skip to content

Conversation

@ujfalusi
Copy link
Collaborator

@ujfalusi ujfalusi commented Jun 3, 2025

We can have modules in path which can change the number of channels and in this case the BE params needs to be adjusted to configure the DAI according to the copier configuration.

We can have modules in path which can change the number of channels and in
this case the BE params needs to be adjusted to configure the DAI according
to the copier configuration.

Signed-off-by: Peter Ujfalusi <[email protected]>
* module which can change the number of channels. But we do require
* topology to define a single channels in the DAI copier config in
* this case (FE channels may be variable).
*/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should we do if fe_be_match = true but single_be_channels = false? I.e. One of the pin formats matches the fe channels.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bardliao, then we don't need to do anything, no fixup is needed, the FE channels are the same as the BE.

Copy link

@singalsu singalsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this fixed corrupt audio with HDA codec with up/downmixed non-2ch formats. I today tested several multi-channel formats successfully with this patch plus #5435 and #5442.

@bardliao bardliao merged commit d0ad7b0 into thesofproject:topic/sof-dev Jun 23, 2025
7 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants