Skip to content

Add CTC binary and switch controls#9370

Merged
lgirdwood merged 3 commits into
thesofproject:mainfrom
eddy1021:ctc_ctl
Sep 10, 2024
Merged

Add CTC binary and switch controls#9370
lgirdwood merged 3 commits into
thesofproject:mainfrom
eddy1021:ctc_ctl

Conversation

@eddy1021

Copy link
Copy Markdown

Add enablement and params controls of Google CTC component.

Comment thread src/audio/google/google_ctc_audio_processing.c Outdated
Comment thread src/audio/google/google_ctc_audio_processing.c
Comment thread src/audio/google/google_ctc_audio_processing.c Outdated
Comment thread src/audio/google/google_ctc_audio_processing.c Outdated
Comment thread src/audio/google/google_ctc_audio_processing.c Outdated
@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

@lyakh lyakh 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.

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

Comment thread src/audio/google/google_ctc_audio_processing_ipc3.c
{
struct google_ctc_audio_processing_comp_data *cd = module_get_private_data(mod);

comp_info(mod->dev, "ctc_free()");

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.

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

Comment thread src/audio/google/google_ctc_audio_processing_ipc4.c Outdated
Comment thread src/audio/google/google_ctc_audio_processing.h
Comment thread src/audio/google/google_ctc_audio_processing_ipc3.c Outdated

@cujomalainey cujomalainey 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.

just a couple minor nits left

Comment thread src/audio/google/google_ctc_audio_processing_ipc3.c
Comment thread src/audio/google/google_ctc_audio_processing.h
@lgirdwood lgirdwood added this to the v2.11 milestone Sep 2, 2024

@johnylin76 johnylin76 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.

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

Comment thread src/audio/google/google_ctc_audio_processing.c Outdated
Comment thread src/audio/google/google_ctc_audio_processing.c Outdated
Comment thread src/audio/google/google_ctc_audio_processing_ipc3.c
@eddy1021
eddy1021 force-pushed the ctc_ctl branch 2 times, most recently from e2f2e70 to 1a13d57 Compare September 5, 2024 20:33
Comment thread src/audio/google/google_ctc_audio_processing.c
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
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