-
Notifications
You must be signed in to change notification settings - Fork 349
[RFC] topology: move volume/switch control naming to upper level #2099
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Due to PR#2029 merge and CI bit depth conversion tests changes, this PR require rebase. |
|
@ranj063 if you have time, can you still clarify what kind of changes you meant? I was not fully getting it... |
|
@lgirdwood I'll check this tomorrow... @ranj063 if you have time to elaborate what was the idea in your proposal with this as I didn't quite get it... |
ec02425 to
70329d7
Compare
70329d7 to
9a89cf5
Compare
|
@ranj063 I modified this now quite heavily, so trying to make it so that you can set explicit pga/control names from pipeline files if you wish to do so.... You think this is going to the right direction? It should be more clear now and I got rid of the messy defines etc. |
lgirdwood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@juimonen as a quick sanity check, can you compare the ASCII conf files after M4 processing with and without this patch. This should highlight us to any issues quickly.
|
@lgirdwood yes will do. I need to rebase this also, was doing against old master... |
|
@juimonen sorry for the delay. I have lost track of what I said earlier in this PR. Let me look through your changes today |
9a89cf5 to
3dc8ded
Compare
|
@ranj063 hold on for a while still :) I need to resolve some issues still... |
3dc8ded to
2c6bf1c
Compare
|
@ranjani ok, now should be good for review... |
lgirdwood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plbossart @ranj063 any comments, if not pls merge.
|
SOFCI TEST |
|
@juimonen CI failing due to conflicts |
2c6bf1c to
437ac66
Compare
Currently pga and related mixercontrol have widget naming schemes inside the macro. This is done to help the person writing topologies as pga's are automatically named by concatenating pipeline ids with hard coded names. As pga and mixercontrol define the control name visible in alsamixer we want to allow explicit naming outside the macro call. For example dmic control needs to be "Dmic0 Capture Volume" as this is defined in UCM and used by Pulseaudio. So let the name argument in pga and mixercontrol macros to be the widget name and don't modify it inside the macro. There are still N_PGA and N_CONTROLMIXER macros which can be used to generate the old style control names. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
|
@juimonen still conflicting ? |
437ac66 to
4e5f36e
Compare
|
@lgirdwood yes should read the github conflict messages... now updated |
|
SOFCI TEST |
|
Please resubmit with "main" as PR base branch. |
Dmic volume and switch naming was hardcoded into capture eq pipelines,
which introduced problems when creating several instances of those
pipelines. So move the naming defines up 1 level to the topologies
using those pipelines.
Signed-off-by: Jaska Uimonen jaska.uimonen@intel.com