Skip to content

Conversation

@juimonen
Copy link

Currently the mux/demux uuid setting doesn't work and uuid is always set
to "demux". Fix this by quoting the ifelse in 1 line.

Signed-off-by: Jaska Uimonen jaska.uimonen@intel.com

Currently the mux/demux uuid setting doesn't work and uuid is always set
to "demux". Fix this by quoting the ifelse in 1 line.

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
@juimonen
Copy link
Author

@libinyang FYI...

ifelse(`$2', `0',
` SOF_TKN_COMP_UUID' STR(mux_uuid),
` SOF_TKN_COMP_UUID' STR(demux_uuid))
`ifelse(`$2', `0',` SOF_TKN_COMP_UUID' STR(mux_uuid),` SOF_TKN_COMP_UUID' STR(demux_uuid))'
Copy link
Contributor

Choose a reason for hiding this comment

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

so it's actually a pair of ` and' to include the whole ifelse sentence is needed, no matter how much lines it occupies?

Copy link
Author

Choose a reason for hiding this comment

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

@Keyon I guess so, I noticed that the string "mux/demux" setting below works, but this part didn't. I was debugging this for 3 days, since the string shows it is "MUX", but I never looked at the uuid. In the fw mux/demux share almost all function pointers, only copy function is different -> when copy crashed, the log was missing the last bits -> I didn't understand I was actually running demux instead of mux...

@juimonen juimonen mentioned this pull request Dec 16, 2020
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

@keyonjie good for you ?

@lgirdwood lgirdwood merged commit 589055d into thesofproject:master Dec 18, 2020
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.

3 participants