Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
wakeword.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
17#ifndef __WAKEWORD_H__
18#define __WAKEWORD_H__
19
20#include <stdbool.h>
21#include <stdint.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif /* __cplusplus */
26
32int ww_init(void);
33
45int ww_process(uint8_t *const audio_buffer, const uint16_t num_samples, bool *const ww_detected);
46
50void ww_reset(void);
51
52#ifdef __cplusplus
53}
54#endif /* __cplusplus */
55
56#endif /* __WAKEWORD_H__ */
57
void ww_reset(void)
Reset Wakeword model state.
int ww_process(uint8_t *const audio_buffer, const uint16_t num_samples, bool *const ww_detected)
Process audio data by Wakeword model.
int ww_init(void)
Initialize Wakeword model.