Skip to content

[FEATURE] Processing pipeline macros with volume need to get their PGA name from caller macro #3378

@singalsu

Description

@singalsu

Is your feature request related to a problem? Please describe.
Yes, currently the general looking macros like pipe-eq-iir-volume.m4 are in practice usable only with Dmic0 endpoint. We need the same macros for HDA and SDW endpoints to avoid duplication. The old style PGAx.y like names cannot be controlled by UCM in a maintainable way. There's same issue with with playback pipeline macros.

Describe the solution you'd like
Minimum set of processing pipeline macros to maintain, no duplication need with just different PGA_NAME defines. The higher level macros like sof-hda-generic.m4 needs to define PGA_NAME before instantiating echo pipeline a undefine PGA_NAME after it. There might be other ways but this simple way should work.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

P2Critical bugs or normal featuresenhancementNew feature or requesttopologyTopology issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions