mirror of https://github.com/thesofproject/sof.git
Audio: Module adapter: Pass entire new() IPC to SRC
This patch differentiates SRC component from normal processing component IPC. The corrected size allows the client component to receive all of init() IPC. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
c605296636
commit
1240cf03ff
|
@ -89,6 +89,14 @@ struct comp_dev *module_adapter_new(const struct comp_driver *drv,
|
|||
data = spec;
|
||||
break;
|
||||
}
|
||||
case SOF_COMP_SRC:
|
||||
{
|
||||
const struct ipc_config_src *ipc_src = spec;
|
||||
|
||||
size = sizeof(*ipc_src);
|
||||
data = spec;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
const struct ipc_config_process *ipc_module_adapter = spec;
|
||||
|
|
Loading…
Reference in New Issue