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:
Cristina Feies (ilie) 2021-03-17 22:03:31 +02:00 committed by Michal Wasko
parent 7f70d99e4a
commit bcba81611b
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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);