Skip to content

[BUG] Cadence codec is dead code in-tree, needs a stub #9292

@andyross

Description

@andyross

The Cadence Codec component is dead code in the tree and not built in CI or via any testing with open source tooling. This means it can't be exercised when APIs change and needs to play catch-up via out-of-tree testing. See for example #9287, which had to be rushed in to implement an API change from #9261 that missed it because nothing built it.

Check out the following kconfigs and the code they gate for examples:

  • CONFIG_DTS_CODEC_STUB
  • CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK
  • CONFIG_COMP_IGO_NR_STUB
  • CONFIG_WAVES_CODEC_STUB
  • CONFIG_COMP_RTNR_STUB
  • CONFIG_MAXIM_DSM_STUB

Then enable the component in app/stub_build_all_ipc3/4.conf file (and/or set it to default =y if CONFIG_COMP_STUBS=y) and CI will pick it up automatically and build it vs. all new changes.

Metadata

Metadata

Labels

bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions