[alsa-devel] [alsa-lib][RFC PATCH] ucm: reset config id of condition items

Yang, Libin libin.yang at intel.com
Sat May 9 10:43:48 CEST 2020


Hi Jaroslav,

> >
> > Yes, it works with your new suggestion now.
> >
> > Do you think this patch is necessary or not? With this patch we can
> > use the style of:
> > EnableSequence [
> >      cmd1 arg1
> >      cms2 arg2
> > ]
> 
> The patch changes the consistency in the id values for the array representation
> in memory (so you cannot address them). I tried to move this change to the right
> place (UCM conditions):
> 
> https://github.com/perexg/alsa-lib/commits/array-merge
> 
> Could you check this tree? The last commit implements the merge operation for
> the block from the condition tree to the parent tree. Also the "before" and
> "after" hints should be accepted, too.

I did the smoke test on your patch. It works.

Regards,
Libin

> 
> 					Jaroslav
> 
> --
> Jaroslav Kysela <perex at perex.cz>
> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list