Skip to content
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

Add CTC binary and switch controls #9370

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Conversation

eddy1021
Copy link

Add enablement and params controls of Google CTC component.

src/audio/google/google_ctc_audio_processing.c Outdated Show resolved Hide resolved
src/audio/google/google_ctc_audio_processing.c Outdated Show resolved Hide resolved
src/audio/google/google_ctc_audio_processing.c Outdated Show resolved Hide resolved
@eddy1021 eddy1021 force-pushed the ctc_ctl branch 2 times, most recently from 8747cc8 to a6e34db Compare August 22, 2024 21:26
@eddy1021 eddy1021 changed the title Add CTC binary controls Add CTC binary and switch controls Aug 22, 2024
@eddy1021 eddy1021 marked this pull request as ready for review August 22, 2024 21:30
@eddy1021 eddy1021 force-pushed the ctc_ctl branch 2 times, most recently from d966cbd to bcf9df2 Compare August 22, 2024 22:01
lyakh
lyakh previously requested changes Aug 23, 2024
Copy link
Collaborator

@lyakh lyakh left a comment

Choose a reason for hiding this comment

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

I think there's a high likelihood that the fall-through wasn't intended

@@ -243,6 +243,8 @@ static int ctc_free(struct processing_module *mod)
{
struct google_ctc_audio_processing_comp_data *cd = module_get_private_data(mod);

comp_info(mod->dev, "ctc_free()");
Copy link
Collaborator

Choose a reason for hiding this comment

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

This 3rd commit could have been a separate PR as well. Not a blocker.

Copy link
Member

@cujomalainey cujomalainey left a comment

Choose a reason for hiding this comment

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

just a couple minor nits left

@lgirdwood lgirdwood added this to the v2.11 milestone Sep 2, 2024
Copy link
Contributor

@johnylin76 johnylin76 left a comment

Choose a reason for hiding this comment

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

Please check concerns about the data blob setting process as I stated in comments. Thanks

src/audio/google/google_ctc_audio_processing.c Outdated Show resolved Hide resolved
src/audio/google/google_ctc_audio_processing.c Outdated Show resolved Hide resolved
@eddy1021 eddy1021 force-pushed the ctc_ctl branch 2 times, most recently from e2f2e70 to 1a13d57 Compare September 5, 2024 20:33
Eddy Hsu added 3 commits September 9, 2024 00:43
Add binary controls of Google CTC component to load different configs.

Signed-off-by: Eddy Hsu <eddyhsu@google.com>
Add enablement switch controls of Google CTC component.

Signed-off-by: Eddy Hsu <eddyhsu@google.com>
Check CTC state is properly inited and cleanup.

Signed-off-by: Eddy Hsu <eddyhsu@google.com>
@lgirdwood lgirdwood merged commit 17c15fc into thesofproject:main Sep 10, 2024
45 of 47 checks passed
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.

6 participants