-
Notifications
You must be signed in to change notification settings - Fork 349
Move to shimmed codec adapter interface #3999
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
Conversation
|
This is mostly done, we need to set different UUID for waves/cadences/passthrough codecs and update the topology files. Based on @cujomalainey work! |
|
@cujomalainey @mrajwa @lgirdwood this is ready to be merged. I have added different UUIDs for Waves / passtrhough and kept the old codec_adapter UUID for Cadence codecs. @stolx can you please test this with Waves? You need to use the new UUID as explained in the second commit. Tested this for cadence with mp3 / passthrough and works fine. |
|
These Quickbuild errors look relevant for a change: As usual they may be delayed by days so in case of force-pushes make sure you check the timestamp and SHA1 I recently added to the build and quoted above. |
In order to act as a stand in layer for codecs going forward we need to not log using our comp_driver as that will be removed in the future. Instead we need to log using the context of comp_dev. This commit also reduces the verbosity of a lot of the traces and increases a few. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit strips the codec adapter as it is more of a library/layer for codecs to simplify their interface against rather than a component in and of itself. This gives each codec its own UUID solving the ID problem while opening an opertunity to register codecs directly for future multiplexing capabilities. Old UUID adapter used for codec_adapter is now used for Cadence codecs, and we add new UUIDs for passthrough and Waves codecs. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Each codec family is now having its own UUID. We keep the old
codec_adapter UUID to be used with Cadence family codecs.
All other codec families (e.g passthrough, waves) needs to use new
uuids.
The topology files will just need to define CA_UID macro.
e.g for waves codec, topology file should contain:
DECLARE_SOF_RT_UUID("Waves codec", waves_codec_uuid, 0xd944281a, 0xafe9,
0x4695, 0xa0, 0x43, 0xd7, 0xf6, 0x2b, 0x89, 0x53, 0x8e);
define(`CA_UUID', cadence_codec_uuid)
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
Thanks @marc-hb. Should be fixed now. |
|
Boot failure on one CML device, other CML boots so a DUT issue. |
This commit strips the codec adapter as it is more of a
library/layer for codecs to simplify their interface against rather than a
component in and of itself. This gives each codec its own UUID solving the ID
problem while opening an opertunity to register codecs directly for
future multiplexing capabilities.
Signed-off-by: Curtis Malainey cujomalainey@chromium.org
Signed-off-by: Daniel Baluta daniel.baluta@nxp.com