mirror of https://github.com/thesofproject/sof.git
kwd demo: expose detect_test_notify function for other modules
Expose detect_test_notify function for other modules which would implement an alternative of default kwd detection Signed-off-by: Cristina Feies (ilie) <cristina.ilie@nxp.com>
This commit is contained in:
parent
7f70d99e4a
commit
bcba81611b
|
@ -39,6 +39,8 @@ struct sof_detect_test_config {
|
|||
uint32_t reserved[1];
|
||||
} __attribute__((packed));
|
||||
|
||||
void detect_test_notify(const struct comp_dev *dev);
|
||||
|
||||
/** used for binary blob size sanity checks */
|
||||
#define SOF_DETECT_TEST_MAX_CFG_SIZE sizeof(struct sof_detect_test_config)
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@ static void notify_kpb(const struct comp_dev *dev)
|
|||
sizeof(cd->event_data));
|
||||
}
|
||||
|
||||
static void detect_test_notify(const struct comp_dev *dev)
|
||||
void detect_test_notify(const struct comp_dev *dev)
|
||||
{
|
||||
notify_host(dev);
|
||||
notify_kpb(dev);
|
||||
|
|
Loading…
Reference in New Issue