-
Notifications
You must be signed in to change notification settings - Fork 318
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
Tools: Testbench: Convert file component to module adapter #9432
Conversation
I've split out this from testbench IPC4 draft PR to ease review of large PR. I'll address the comments for file here. |
tools/testbench/topology.c
Outdated
file_uuid->d[4] = 0x08; | ||
file_uuid->d[5] = 0xa6; | ||
file_uuid->d[6] = 0x98; | ||
file_uuid->d[7] = 0xc2; |
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.
This was commented by Liam in #9025, is there a nicer way to set this with a macro?
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.
define a static const
UUID and memcpy()
it?
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.
Yep, that works, thanks!
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.
Look ok to me, one comment inline
if (IPC_TAIL_IS_SIZE_INVALID(*file)) | ||
return -EBADMSG; | ||
case SOF_COMP_FILEREAD: | ||
case SOF_COMP_FILEWRITE: | ||
config->file.channels = file->channels; |
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.
I think you need to keep the check on L218-219 (added recently).
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.
Oops yes, missed this in rebase.
b08ee3d
to
32fc81f
Compare
This is done as preparation for testbench IPC4 support. The update to IPC4 is simpler for a module adapter component. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
32fc81f
to
ce9474c
Compare
There's a build fail in https://sof-ci.01.org/sof-pr-viewer/#/build/PR9432/build14219918, trying again. |
SOFCI TEST |
The Jenkins failures sof-ci/jenkins/pr-device-test/main-ace and sof-ci/jenkins/pr-device-test/main-lnl are not related. The Internal Intel CI System/merge/build that previously failed is now passed. |
This is done as preparation for testbench IPC4 support. The update to IPC4 is simpler for a module adapter component.