Skip to content

Fix intelligo adapter - #7944

Merged
kv2019i merged 4 commits into
thesofproject:mainfrom
cujomalainey:igo
Jul 14, 2023
Merged

kv2019i merged 4 commits into
thesofproject:mainfrom
cujomalainey:igo

Conversation

@cujomalainey

Copy link
Copy Markdown
Contributor

API modification breakages

  • fix create arg attributes
  • fix buffer access helpers

missing reference

Fixes: 589df2a ("buffer: don't access stream internals")
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Creation is done with constant args

Fixes: 10f6dd0 ("module-adapter: add a constant data pointer")
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
The headers are under the main include directory

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Needed for the config type

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>

@btian1 btian1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are we try to re-integrate this part of code into SOF?

Comment thread src/audio/igo_nr/igo_nr.c
cd->sink_rate = audio_stream_get_rate(&sink_c->stream);

if (audio_stream_get_channels(source_c->stream) !=
if (audio_stream_get_channels(&source_c->stream) !=

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

interesting, this part of code should not be compiled with current build system, compiler will report error with this cse.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's because it's not test in CI currently, trying to fix that :)

@cujomalainey

Copy link
Copy Markdown
Contributor Author

Are we try to re-integrate this part of code into SOF?

The code depends on a 3P library that hasn't been integrated past the CAVS2.5 branch. I'm working on adding stub libraries so we can at least build test and fuzz adapter code. These fixes are my findings from this work.

@kv2019i kv2019i left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @cujomalainey ! A stub that would allow at least a compile test in CI would be nice to catch these indeed.

@kv2019i

kv2019i commented Jul 14, 2023

Copy link
Copy Markdown
Collaborator

Lot of failing cases. We have a mismatch with upstream Zephyr main (not related to this PR), and we also have a regression in SOF main causing compiler warnings (again not related to this PR -> #7949 ). So good to go for this PR.

@kv2019i
kv2019i merged commit 3bf8ffc into thesofproject:main Jul 14, 2023
@cujomalainey
cujomalainey deleted the igo branch July 14, 2023 15:59
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.

4 participants