Uh oh!
There was an error while loading. Please reload this page.
[RFC] topology: move volume/switch control naming to upper level - #2099
[RFC] topology: move volume/switch control naming to upper level#2099juimonen wants to merge 1 commit into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
zrombel
commented
Nov 28, 2019
Due to PR#2029 merge and CI bit depth conversion tests changes, this PR require rebase. |
lgirdwood
commented
Jan 6, 2020
juimonen
commented
Jan 7, 2020
@ranj063 if you have time, can you still clarify what kind of changes you meant? I was not fully getting it... |
lgirdwood
commented
Jan 20, 2020
juimonen
commented
Jan 20, 2020
@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... |
juimonen
commented
Jan 23, 2020
@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. |
juimonen
commented
Jan 23, 2020
@lgirdwood yes will do. I need to rebase this also, was doing against old master... |
ranj063
commented
Jan 23, 2020
@juimonen sorry for the delay. I have lost track of what I said earlier in this PR. Let me look through your changes today |
juimonen
commented
Jan 23, 2020
@ranj063 hold on for a while still :) I need to resolve some issues still... |
juimonen
commented
Jan 24, 2020
@ranjani ok, now should be good for review... |
lgirdwood
left a comment
There was a problem hiding this comment.
@plbossart@ranj063 any comments, if not pls merge.
juimonen
commented
Feb 25, 2020
SOFCI TEST |
lgirdwood
commented
Feb 26, 2020
@juimonen CI failing due to conflicts |
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>
lgirdwood
commented
Feb 27, 2020
@juimonen still conflicting ? |
juimonen
commented
Feb 27, 2020
@lgirdwood yes should read the github conflict messages... now updated |
lgirdwood
commented
Feb 27, 2020
SOFCI TEST |
paulstelian97
commented
Mar 29, 2021
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