-
Notifications
You must be signed in to change notification settings - Fork 349
[RFC] Make codec adapter a stand in layer #3881
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I see where this is going. So, now we also need to modify codec_adapter_new to accommodate for the 3rd parameter. This is the way we tell the generic codec adapter which specific ops implementation to use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, and we can add another hook into the register routine to register the codec to a codec list which the multiplexer can pull from
lgirdwood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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>
not sure why this was added. There are very few cases where a static declaration in a header makes sense but this does not appear to be one of them. 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. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
lgirdwood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cujomalainey fwiw, I'm working in this area too and so will @ranj063 , lets have a sync up offline so we dont all do the same work.
|
@lgirdwood agreed feel free to put something calendar and I will do my best to make room, mornings are usually the easiest for me though. I'm am stuck debugging this gem of an error though (im dumping pre processor output im so confused) |
|
@cujomalainey might be worth running the pre-processor only on that file and see the output if you think it's macro related. |
|
@cujomalainey thanks, yes, will schedule something next week with @ranj063 too. |
Yep already doing that. Hopefully will have an answer soon. |
|
Please resubmit with "main" as PR base branch. |
This PR is tackling the change of making codecs their own UUID rather than a sub id. Changes will come in gradually, but I wanted to get early feedback. Will add more stakeholders as larger changes come in.