mirror of https://github.com/thesofproject/sof.git
8a7875d5e4
Actions perfomed by the default handler are required to keep the component device state consistent (e.g. dev->frames are initialized). While the current comp_params() silently skips the component if params are not defined. New simple components will not be required to define a handler if no extra steps are needed. It is also an opportunity to reduce the code of existing components Note that most of the extra steps are moved to prepare() in many implementations already (like volume), others may follow and remove their params() handlers once reduced to a single call to the default handler (like mux recently did). Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com> |
||
---|---|---|
.. | ||
cmocka | ||
CMakeLists.txt |