-
Notifications
You must be signed in to change notification settings - Fork 349
Description
Is your feature request related to a problem? Please describe.
The current smart_amp component implementation source code is named in a generic matter. It contains smart_amp.c as the role of common adapter (handling component API), and smart_amp_[generic|maxim_dsm].c for generic and Maxim DSM solution respectively. However, the implementation inside doesn't perform in the same manner. The design is deeply bound to Maxim DSM solution, which is not surprising since Maxim is the initial author and there is no other solution supported for a long time.
Describe the solution you'd like
Revamp smart_amp to be in a generic matter, and adaptive to other solutions.
The expected framework would be alike module_adapter.
Describe alternatives you've considered
- ask the new solution provider to create another smart_amp component and keep the present one untouched.
- cons: will produce code duplication
- implement the new smart_amp solution by module_adapter. Given that there is the on-going project to convert existing components into modules with module_adapter
- cons: not sure about the feasibility since amart_amp is multi-input (2 source, 1 sink) component