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

rimage: mtl: add cadence module entry #8488

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

mbukowsk
Copy link
Contributor

Added entry allows to enable cadence codec module.

Added entry allows to enable cadence codec module.

Signed-off-by: Michal Bukowski <[email protected]>
Copy link
Contributor

@btian1 btian1 left a comment

Choose a reason for hiding this comment

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

since we already add DTS as separate module, how to understand DTS and cadence codec relation? cadence codec does not include DTS?

@mbukowsk
Copy link
Contributor Author

since we already add DTS as separate module, how to understand DTS and cadence codec relation? cadence codec does not include DTS?

DTS and CADENCE are separate modules with separate code sources (dts.c and cadence.c). Common part is that both uses module adapter. CADENCE may be used for multiple codecs which uses cadence api, eg. MP3

enum cadence_api_id {
	CADENCE_CODEC_WRAPPER_ID	= 0x01,
	CADENCE_CODEC_AAC_DEC_ID	= 0x02,
	CADENCE_CODEC_BSAC_DEC_ID	= 0x03,
	CADENCE_CODEC_DAB_DEC_ID	= 0x04,
	CADENCE_CODEC_DRM_DEC_ID	= 0x05,
	CADENCE_CODEC_MP3_DEC_ID	= 0x06,
	CADENCE_CODEC_SBC_DEC_ID	= 0x07,
	CADENCE_CODEC_VORBIS_DEC_ID	= 0x08,
	CADENCE_CODEC_SRC_PP_ID		= 0x09,
};

@lgirdwood lgirdwood merged commit ae31a28 into thesofproject:main Nov 20, 2023
45 of 46 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